summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-08-16 01:45:34 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-08-16 01:45:34 (GMT)
commit84f107dd15e308849c5313d0e5c33afaaff24877 (patch)
treebf6ad80881751db24a09a686af26510034dd98a2 /Lib
parent3258e72c82fa66b633f06434375ddaa9c96c5700 (diff)
downloadcpython-84f107dd15e308849c5313d0e5c33afaaff24877.zip
cpython-84f107dd15e308849c5313d0e5c33afaaff24877.tar.gz
cpython-84f107dd15e308849c5313d0e5c33afaaff24877.tar.bz2
Minor formatting cleanup.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_genexps.py11
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