]> granicus.if.org Git - python/commitdiff
Merged revisions 68797 via svnmerge from
authorGeorg Brandl <georg@python.org>
Tue, 27 Oct 2009 13:21:23 +0000 (13:21 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 27 Oct 2009 13:21:23 +0000 (13:21 +0000)
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

index b4b537b9f769765ec4c7538a2b0af58a0767bc81..578bd6b6dfaa4b875746c7aa9ef5a565d07b739a 100644 (file)
@@ -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
 ----------------------------------------------------------------