commit | ba7b560c1d3aca8dac21e824c7d4a11e7f584e76 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Tue Mar 22 22:57:49 2011 -0700 |
committer | Raymond Hettinger <python@rcn.com> | Tue Mar 22 22:57:49 2011 -0700 |
tree | b05b9e91154916b0d3805b10b62d84340744554c | |
parent | b2d0945c8783ab315520169c4bd4533ad82ad539 [diff] [blame] |
Fix set representation in an example.
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index c893e22..411d5f6 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst
@@ -661,7 +661,7 @@ ... d[k].add(v) ... >>> list(d.items()) - [('blue', set([2, 4])), ('red', set([1, 3]))] + [('blue', {2, 4}), ('red', {1, 3})] :func:`namedtuple` Factory Function for Tuples with Named Fields