[issue4335] inspect.getsourcelines ignores last line in module

Alexander Belopolsky report at bugs.python.org
Mon Dec 8 22:37:24 CET 2008


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

According to my understanding of

http://docs.python.org/reference/lexical_analysis.html#id1

a newline character is required at the end of the python file.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4335>
_______________________________________


More information about the Python-bugs-list mailing list