summaryrefslogtreecommitdiffstats
path: root/Doc/library/enum.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-10-13 20:12:09 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-10-13 20:12:09 (GMT)
commit98b28fddd8e63e1a9410facee3e41925eed8ac46 (patch)
tree410d277cbb20078d5fd226e8dd4d24bd225237d8 /Doc/library/enum.rst
parent6039db8de30b5c20ba864cc4127fbfabf6fc0641 (diff)
parentbfdcd436f0410e2b3eb34ce4fd7411488d3f13fb (diff)
downloadcpython-98b28fddd8e63e1a9410facee3e41925eed8ac46.zip
cpython-98b28fddd8e63e1a9410facee3e41925eed8ac46.tar.gz
cpython-98b28fddd8e63e1a9410facee3e41925eed8ac46.tar.bz2
Issue #18758: Fixed and improved cross-references.
Diffstat (limited to 'Doc/library/enum.rst')
-rw-r--r--Doc/library/enum.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index f09c60c..c2030fa 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -371,8 +371,8 @@ The :class:`Enum` class is callable, providing the following functional API::
>>> list(Animal)
[<Animal.ant: 1>, <Animal.bee: 2>, <Animal.cat: 3>, <Animal.dog: 4>]
-The semantics of this API resemble :class:`namedtuple`. The first argument
-of the call to :class:`Enum` is the name of the enumeration.
+The semantics of this API resemble :class:`~collections.namedtuple`. The first
+argument of the call to :class:`Enum` is the name of the enumeration.
The second argument is the *source* of enumeration member names. It can be a
whitespace-separated string of names, a sequence of names, a sequence of