allow line break at operators

Ben Finney ben+python at benfinney.id.au
Fri Aug 12 20:57:28 EDT 2011


Seebs <usenet-nospam at seebs.net> writes:

> What's being pushed into the stream to indicate that the first outdent
> is two outdents and the second is one?

See <URL:http://docs.python.org/reference/lexical_analysis.html> for a
comprehensive discussion of the lexing done on Python source.

To examine the resulting code objects, see the ‘dis’ module in the
standard library <URL:http://docs.python.org/library/dis.html>.

-- 
 \         “[T]he question of whether machines can think … is about as |
  `\         relevant as the question of whether submarines can swim.” |
_o__)                                              —Edsger W. Dijkstra |
Ben Finney



More information about the Python-list mailing list