On Wed, 12 Jul 2000, Jeremy Hylton wrote: > File "<stdin>", line 4 > def foo(bar): > ^ > SyntaxError: dedent does not match any outer indentation level [...] > I don't know what a dedent is. Nor do I know what "outer indentation > levels" are or how they might apply to the line "def foo(bar):". Sorry, this is a transcript from my locally compiled Python. The actual patch says "unindent" rather than "dedent". (In this situation Python 1.5 prints a line to stderr saying "inconsistent dedent" but the SyntaxError only says "invalid syntax".) The intended meaning is "this line is less indented than the previous one, but i can't determine what block it goes with because there's no surrounding block indented at the same level". In short form, this became: "unindent does not match any outer indentation level". -- ?!ng
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4