mirror of
https://github.com/python/cpython
synced 2024-10-14 16:13:17 +00:00
Minor formatting cleanup.
This commit is contained in:
parent
3258e72c82
commit
84f107dd15
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue