Reported on the list in French
In a page like
<html>
<head>
<title>Brython test</title>
<script src="brython.js"></script>
</head>
<body onLoad="brython()">
<script type="text/python">
def HelloWorld():
alert("Hello world !")
HelloWorld()
</script>
</body>
</html>
an IndentationError is raised because the first line of the script is indented
François Dion suggested not to raise an exception and to consider that the
first line indentation is the base for the whole script
Original issue reported on code.google.com by pierre.q...@gmail.com on 16 Dec 2012 at 9:39
Original issue reported on code.google.com by
pierre.q...@gmail.com
on 16 Dec 2012 at 9:39