[Python-checkins] r58371 - python/trunk/Doc/library/collections.rst

raymond.hettinger python-checkins at python.org
Mon Oct 8 11:56:29 CEST 2007


Author: raymond.hettinger
Date: Mon Oct  8 11:56:29 2007
New Revision: 58371

Modified:
   python/trunk/Doc/library/collections.rst
Log:
Missed a line in the docs

Modified: python/trunk/Doc/library/collections.rst
==============================================================================
--- python/trunk/Doc/library/collections.rst	(original)
+++ python/trunk/Doc/library/collections.rst	Mon Oct  8 11:56:29 2007
@@ -465,7 +465,7 @@
       ('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)'
 


More information about the Python-checkins mailing list