summaryrefslogtreecommitdiffstats
path: root/Doc/library/abc.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-03 17:18:41 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-06-03 17:18:41 (GMT)
commitf90112efe8695e9cb6545591349553324a17cf2c (patch)
treeb586f1e63803ca5c8471811c29c8e5bcb0116f73 /Doc/library/abc.rst
parent5d5bde1df2e92fcd545baeef4fb212462982e47e (diff)
downloadcpython-f90112efe8695e9cb6545591349553324a17cf2c.zip
cpython-f90112efe8695e9cb6545591349553324a17cf2c.tar.gz
cpython-f90112efe8695e9cb6545591349553324a17cf2c.tar.bz2
Fix reST label for collections ABCs.
The previous markup hijacked the abstract-base-classes glossary entry, which resulted in the HTML linking to collections.abc when defining the generic ABC concept. Now the glossary links to the abc module.
Diffstat (limited to 'Doc/library/abc.rst')
-rw-r--r--Doc/library/abc.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/abc.rst b/Doc/library/abc.rst
index 2eced45..3e38cb4 100644
--- a/Doc/library/abc.rst
+++ b/Doc/library/abc.rst
@@ -1,3 +1,5 @@
+.. _abstract-base-classes:
+
:mod:`abc` --- Abstract Base Classes
====================================
@@ -12,7 +14,7 @@
--------------
This module provides the infrastructure for defining an :term:`abstract base
-class` (ABCs) in Python, as outlined in :pep:`3119`; see the PEP for why this
+class` (ABC) in Python, as outlined in :pep:`3119`; see the PEP for why this
was added to Python. (See also :pep:`3141` and the :mod:`numbers` module
regarding a type hierarchy for numbers based on ABCs.)