We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Consider the following code (which rightly generates a SyntaxError):
>>> counter = 0 >>> def increment(): ... counter += 1 ... global counter
In the Python REPL, this generates the following error:
SyntaxError: name 'counter' is assigned to before global declaration
However, in Bpython, the following error occurs:
SyntaxError: incomplete input
The Bpython error appears to be incorrect to me?
Consider the following code (which rightly generates a SyntaxError):
In the Python REPL, this generates the following error:
However, in Bpython, the following error occurs:
The Bpython error appears to be incorrect to me?