]> granicus.if.org Git - python/commitdiff
Minor formatting cleanup.
authorRaymond Hettinger <python@rcn.com>
Mon, 16 Aug 2004 01:45:34 +0000 (01:45 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 16 Aug 2004 01:45:34 +0000 (01:45 +0000)
Lib/test/test_genexps.py

index e43f593b85ce9aa557583acdf613d7f6f5d194a6..c529e75bd951fd506a429bde564c4aa0114b0d5b 100644 (file)
@@ -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