summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-03-22 16:19:02 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-03-22 16:19:02 (GMT)
commit7500f92fce42ed4f6cb44d8281178f53301df239 (patch)
treebbbd099a56adaf16a5fa15b83943b9036a6fc09b
parente9ddbf65a87d37c81cad5ea1369ea8b2202e7701 (diff)
parent608aba301e62fe0c926d453d168a38c0ed3a46e8 (diff)
downloadcpython-7500f92fce42ed4f6cb44d8281178f53301df239.zip
cpython-7500f92fce42ed4f6cb44d8281178f53301df239.tar.gz
cpython-7500f92fce42ed4f6cb44d8281178f53301df239.tar.bz2
Issue #11625: Fix Typo
-rw-r--r--Doc/library/collections.abc.rst2
-rw-r--r--Doc/library/collections.rst1
2 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst
index d341c45..fc6bbbf 100644
--- a/Doc/library/collections.abc.rst
+++ b/Doc/library/collections.abc.rst
@@ -115,7 +115,7 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
That assumption is factored-out to an internal classmethod called
:meth:`_from_iterable` which calls ``cls(iterable)`` to produce a new set.
If the :class:`Set` mixin is being used in a class with a different
- constructor signature, you will need to override :meth:`from_iterable`
+ constructor signature, you will need to override :meth:`_from_iterable`
with a classmethod that can construct new instances from
an iterable argument.
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 99a627d..2cd8c21 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -1,3 +1,4 @@
+
:mod:`collections` --- Container datatypes
==========================================