summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-01-11 00:23:13 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-01-11 00:23:13 (GMT)
commitd1ef85420f80db51f7289265aa103dff746c6517 (patch)
treea21e97573a7a8ab25346291715118ea866c5c3ac /Doc
parent15b5e55b48dc9da1fdfdd4cb282da499c45da5fb (diff)
downloadcpython-d1ef85420f80db51f7289265aa103dff746c6517.zip
cpython-d1ef85420f80db51f7289265aa103dff746c6517.tar.gz
cpython-d1ef85420f80db51f7289265aa103dff746c6517.tar.bz2
Run doctests on the collections module
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/collections.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 6b02576..b10569b 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -502,7 +502,7 @@ function::
>>> getattr(p, 'x')
11
-To cast a dictionary to a named tuple, use the double-star-operator [#]_::
+To convert a dictionary to a named tuple, use the double-star-operator [#]_::
>>> d = {'x': 11, 'y': 22}
>>> Point(**d)