]> granicus.if.org Git - python/commitdiff
Fix typo
authorRaymond Hettinger <python@rcn.com>
Wed, 9 Jan 2008 03:13:20 +0000 (03:13 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 9 Jan 2008 03:13:20 +0000 (03:13 +0000)
Doc/library/collections.rst

index e1514da5992cad466527917c4e0d6593fa0eaf6e..c3839433cbb34da198d27c1c221cde451e5d7be8 100644 (file)
@@ -494,7 +494,7 @@ field names, the method and attribute names start with an underscore.
       >>> Color = namedtuple('Color', 'red green blue')
       >>> Pixel = namedtuple('Pixel', Point._fields + Color._fields)
       >>> Pixel(11, 22, 128, 255, 0)
-      Pixel(x=11, y=22, red=128, green=255, blue=0)'
+      Pixel(x=11, y=22, red=128, green=255, blue=0)
 
 To retrieve a field whose name is stored in a string, use the :func:`getattr`
 function::