]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Completed previous edit
authorRaymond Hettinger <python@rcn.com>
Tue, 25 Jun 2002 15:21:02 +0000 (15:21 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 25 Jun 2002 15:21:02 +0000 (15:21 +0000)
Doc/tut/tut.tex

index f45604b4c135dfce772f9292b754bba8a58f2fc9..4b0509fd36550733a43b1d1d6a2190f74fbc03fa 100644 (file)
@@ -1843,8 +1843,6 @@ parenthesized.
 [12, 18]
 >>> [3*x for x in vec if x < 2]
 []
->>> [{x: x**2} for x in vec]
-[{2: 4}, {4: 16}, {6: 36}]
 >>> [[x,x**2] for x in vec]
 [[2, 4], [4, 16], [6, 36]]
 >>> [x, x**2 for x in vec]     # error - parens required for tuples