compile() and comments
steve at holdenweb.com
Tue Oct 14 19:09:28 CEST 2008
Ed Leafe wrote:
> On Oct 13, 2008, at 8:35 AM, Fuzzyman wrote:
>> It is certainly an odd restriction, but the docs for compile  do
>> explicitly state that the input must be newline terminated.
> Understood; what I found odd was that if the last
> non-newline-terminated statement was *not* a comment, no error was thrown.
What if the last line is indented?
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Python-list