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 ........
This commit is contained in:
parent
4f8084eda1
commit
93a80b5752
|
@ -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
|
||||
----------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue