diff options
author | Raymond Hettinger <python@rcn.com> | 2004-08-16 01:45:34 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-08-16 01:45:34 (GMT) |
commit | 84f107dd15e308849c5313d0e5c33afaaff24877 (patch) | |
tree | bf6ad80881751db24a09a686af26510034dd98a2 /Lib/test/test_genexps.py | |
parent | 3258e72c82fa66b633f06434375ddaa9c96c5700 (diff) | |
download | cpython-84f107dd15e308849c5313d0e5c33afaaff24877.zip cpython-84f107dd15e308849c5313d0e5c33afaaff24877.tar.gz cpython-84f107dd15e308849c5313d0e5c33afaaff24877.tar.bz2 |
Minor formatting cleanup.
Diffstat (limited to 'Lib/test/test_genexps.py')
-rw-r--r-- | Lib/test/test_genexps.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Lib/test/test_genexps.py b/Lib/test/test_genexps.py index e43f593..c529e75 100644 --- a/Lib/test/test_genexps.py +++ b/Lib/test/test_genexps.py @@ -75,11 +75,12 @@ Test running gen when defining function is out of scope [(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 |