summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-04 16:42:38 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-06-04 16:42:38 (GMT)
commitfa088dbd0cf20abdab011285d7f5d950ca61fb4a (patch)
treef2dd07712165120283fc9c647e4ef19d4a4890d4 /Doc/library/collections.rst
parent07e58c33896c382ebccd99ed8dc28e457ab96c45 (diff)
downloadcpython-fa088dbd0cf20abdab011285d7f5d950ca61fb4a.zip
cpython-fa088dbd0cf20abdab011285d7f5d950ca61fb4a.tar.gz
cpython-fa088dbd0cf20abdab011285d7f5d950ca61fb4a.tar.bz2
Improve glossary entry for ABCs.
- Rename reST target name for collections ABCs to avoid collisions - Add link to importlib ABCs (collections, numbers and io ABCs were already linked) - Link to glossary entry from numbers module doc (other modules already do it)
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r--Doc/library/collections.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 1a41a50..0b45fe1 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -33,8 +33,9 @@ Python's general purpose built-in containers, :class:`dict`, :class:`list`,
===================== ====================================================================
In addition to the concrete container classes, the collections module provides
-:ref:`abstract-base-classes` that can be used to test whether a class provides a
-particular interface, for example, whether it is hashable or a mapping.
+:ref:`abstract base classes <collections-abstract-base-classes>` that can be
+used to test whether a class provides a particular interface, for example,
+whether it is hashable or a mapping.
:class:`Counter` objects
@@ -984,7 +985,7 @@ attribute.
subclass) or an arbitrary sequence which can be converted into a string using
the built-in :func:`str` function.
-.. _abstract-base-classes:
+.. _collections-abstract-base-classes:
ABCs - abstract base classes
----------------------------