summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-11-30 17:50:53 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-11-30 17:50:53 (GMT)
commitacdafa8e8cd180dcf206691cce94e12438d8f4ac (patch)
tree84cf32b537ec484d3709b5696ab7b92a20ce3791 /Doc
parent250b4166caf94cdf505c37c6a02279bcd4af3c5a (diff)
downloadcpython-acdafa8e8cd180dcf206691cce94e12438d8f4ac.zip
cpython-acdafa8e8cd180dcf206691cce94e12438d8f4ac.tar.gz
cpython-acdafa8e8cd180dcf206691cce94e12438d8f4ac.tar.bz2
Add some internal links.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/glossary.rst2
-rw-r--r--Doc/library/collections.rst7
2 files changed, 4 insertions, 5 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 161e52c..54537d2 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -27,7 +27,7 @@ Glossary
:ref:`2to3-reference`.
abstract base class
- Abstract Base Classes (abbreviated ABCs) complement :term:`duck-typing` by
+ :ref:`abstract-base-classes` complement :term:`duck-typing` by
providing a way to define interfaces when other techniques like
:func:`hasattr` would be clumsy. Python comes with many built-in ABCs for
data structures (in the :mod:`collections` module), numbers (in the
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index d5ad482..d78e7c9 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -27,10 +27,9 @@ Python's general purpose built-in containers, :class:`dict`, :class:`list`,
:class:`defaultdict` dict subclass that calls a factory function to supply missing values .. versionadded:: 2.5
===================== ==================================================================== ===========================
-In addition to containers, the collections module provides some ABCs
-(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.
+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.
.. seealso::