From 93a80b57528a57428fe46e7a0aece97518870fda Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 27 Oct 2009 13:21:23 +0000 Subject: [PATCH] Merged revisions 68797 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r68797 | raymond.hettinger | 2009-01-20 08:11:47 +0100 (Di, 20 Jan 2009) | 11 lines Don't disrupt automatic url target name generation with manually specified, conflicting names. Before: http://docs.python.org/dev/library/collections.html#id1 After: http://docs.python.org/dev/library/collections.html#counter-objects ........ --- Doc/library/collections.rst | 11 ----------- 1 file changed, 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 ---------------------------------------------------------------- -- 2.40.0