[issue44177] Unable to get the else while parsing through AST module
Eric V. Smith
report at bugs.python.org
Thu May 20 08:08:24 EDT 2021
Eric V. Smith <eric at trueblade.com> added the comment:
There's no actual code associated with the "else" line, so there's no way to get the line number. dis.dis(sample_data) might give you some insight.
Since this all works as designed, I'm going to close this issue. You might get more help on StackOverflow or similar.
----------
resolution: -> not a bug
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44177>
_______________________________________
More information about the Python-bugs-list
mailing list