]> granicus.if.org Git - python/commitdiff
Add some internal links.
authorRaymond Hettinger <python@rcn.com>
Tue, 30 Nov 2010 17:50:53 +0000 (17:50 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 30 Nov 2010 17:50:53 +0000 (17:50 +0000)
Doc/glossary.rst
Doc/library/collections.rst

index 161e52cda5c18c49ffc499248b975409039ad40c..54537d22063b7ebfdb7ac00011f70d6470f66e5e 100644 (file)
@@ -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
index d5ad482b5491ea9e28ebfc5b3e9d0ce0d9a79cd8..d78e7c93757783cb6160b77a0ce1bc1d5f93761a 100644 (file)
@@ -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::