If One Line

Skip Montanaro skip.montanaro at gmail.com
Thu Dec 25 12:45:00 EST 2014


> Actually more that in the interpreter, it's prompting me with ... as if I
had left out a closing ) or something, but, suppose it could work fine in
an actual imported bit of code?

That's how it's supposed to work. Given that Python block structure is
determined by indentation, you need some way to tell the interactive
interpreter that the block is ended.

Skip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141225/c07e0d8f/attachment.html>


More information about the Python-list mailing list