[Python-checkins] python/dist/src/Lib/test test_genexps.py,1.4,1.5
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Mon Aug 16 03:45:36 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3727
Modified Files:
test_genexps.py
Log Message:
Minor formatting cleanup.
Index: test_genexps.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_genexps.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** test_genexps.py 16 Aug 2004 01:35:28 -0000 1.4
--- test_genexps.py 16 Aug 2004 01:45:34 -0000 1.5
***************
*** 76,84 ****
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
Verify early binding for the outermost for-expression
--- 76,85 ----
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
Verify early binding for the outermost for-expression
More information about the Python-checkins
mailing list