]> granicus.if.org Git - python/commitdiff
Missed a line in the docs
authorRaymond Hettinger <python@rcn.com>
Mon, 8 Oct 2007 09:56:29 +0000 (09:56 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 8 Oct 2007 09:56:29 +0000 (09:56 +0000)
Doc/library/collections.rst

index 5da7b60a55bd87d0f50951ae4aecbe9fdb859d50..a7d9ab6f610eb03248fbd23d2d17930dab3ddbaf 100644 (file)
@@ -465,7 +465,7 @@ additonal methods and a read-only attribute.
       ('x', 'y')
 
       >>> Color = NamedTuple('Color', 'red green blue')
-      >>> Pixel = NamedTuple('Pixel', ' '.join(Point.__fields__ + Color.__fields__))
+      >>> Pixel = NamedTuple('Pixel', Point.__fields__ + Color.__fields__)
       >>> Pixel(11, 22, 128, 255, 0)
       Pixel(x=11, y=22, red=128, green=255, blue=0)'