summaryrefslogtreecommitdiff
path: root/Doc/library/abc.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-03 19:18:41 +0200
committerÉric Araujo <merwok@netwok.org>2011-06-03 19:18:41 +0200
commit244680fd2a26b53e11c9c3c3e236d67cef21577b (patch)
treef9f16c1fc54cc2692d061f70bb27545eccffe4ba /Doc/library/abc.rst
parentd9fb77611ad32d72f31094fee509bc65ecf00bb6 (diff)
downloadcpython-244680fd2a26b53e11c9c3c3e236d67cef21577b.tar.gz
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 2eced4541b..3e38cb4863 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.)