Minor formatting cleanup.

This commit is contained in:
Raymond Hettinger 2004-08-16 01:45:34 +00:00
parent 3258e72c82
commit 84f107dd15

View file

@ -75,11 +75,12 @@
[(0, 0), (0, 1), (1, 0), (1, 1), (2, 0), (2, 1)]
Verify that parenthesis are required in a statement
>>> def f(n):
... return i*i for i in xrange(n)
Traceback (most recent call last):
...
SyntaxError: invalid syntax
>>> def f(n):
... return i*i for i in xrange(n)
Traceback (most recent call last):
...
SyntaxError: invalid syntax
Verify early binding for the outermost for-expression