From: Raymond Hettinger Date: Mon, 16 Aug 2004 01:45:34 +0000 (+0000) Subject: Minor formatting cleanup. X-Git-Tag: v2.4a3~235 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84f107dd15e308849c5313d0e5c33afaaff24877;p=python Minor formatting cleanup. --- diff --git a/Lib/test/test_genexps.py b/Lib/test/test_genexps.py index e43f593b85..c529e75bd9 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