Commit b6893f2b authored by Raymond Hettinger's avatar Raymond Hettinger

Missed a line in the docs

parent 2115bbc4
......@@ -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)'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment