We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
>>> for i in range(10): ... File "<stdin>", line 2 ^ IndentationError: expected an indented block
>>>>> for i in range(10): ..... ..... ..... ..... ..... ..... .....
In the python3 shell, if no value is entered when Indentation is required, (such as for: or if: or def, etc...), an IndentationError should be raised.
Indentation
IndentationError
The text was updated successfully, but these errors were encountered:
Hmm, maybe we could check if the previous syntax error was in the same place as the current one, and if it was then give an error?
Sorry, something went wrong.
Right now it looks like there is no IndentationError at all. Likewise, TabError doesn't exist.
TabError
Using the following input from StackOverflow
command = "IDENTIFY" if command == 'HOWMANY': opcodegroupr = "A0" opcoder = "85" elif command == 'IDENTIFY': opcodegroupr = "A0" opcoder = "81"
File "test2.py", line 7 opcodegroupr = "A0" ^ IndentationError: expected an indented block
SyntaxError: Got unexpected token 'opcodegroupr' at line 7 column 1
I implemented IndentationError, but it does not resolve the original issue.
No branches or pull requests
Feature
Expected Result
Actual Result
In the python3 shell, if no value is entered when
Indentation
is required, (such as for: or if: or def, etc...), anIndentationError
should be raised.The text was updated successfully, but these errors were encountered: