summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/library/collections.rst11
1 files changed, 0 insertions, 11 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index b4b537b9f7..578bd6b6df 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -155,12 +155,9 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
* For more about ABCs, see the :mod:`abc` module and :pep:`3119`.
-.. _deque-objects:
-
:class:`deque` objects
----------------------
-
.. class:: deque([iterable[, maxlen]])
Returns a new deque object initialized left-to-right (using :meth:`append`) with
@@ -309,8 +306,6 @@ Example:
deque(['c', 'b', 'a'])
-.. _deque-recipes:
-
:class:`deque` Recipes
^^^^^^^^^^^^^^^^^^^^^^
@@ -355,12 +350,10 @@ With minor variations on that approach, it is easy to implement Forth style
stack manipulations such as ``dup``, ``drop``, ``swap``, ``over``, ``pick``,
``rot``, and ``roll``.
-.. _defaultdict-objects:
:class:`defaultdict` objects
----------------------------
-
.. class:: defaultdict([default_factory[, ...]])
Returns a new dictionary-like object. :class:`defaultdict` is a subclass of the
@@ -406,8 +399,6 @@ stack manipulations such as ``dup``, ``drop``, ``swap``, ``over``, ``pick``,
``None``, if absent.
-.. _defaultdict-examples:
-
:class:`defaultdict` Examples
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -477,8 +468,6 @@ Setting the :attr:`default_factory` to :class:`set` makes the
[('blue', set([2, 4])), ('red', set([1, 3]))]
-.. _named-tuple-factory:
-
:func:`namedtuple` Factory Function for Tuples with Named Fields
----------------------------------------------------------------