[Python-checkins] r75760 - in python/branches/release26-maint: Doc/library/collections.rst
georg.brandl
python-checkins at python.org
Tue Oct 27 14:21:23 CET 2009
Author: georg.brandl
Date: Tue Oct 27 14:21:23 2009
New Revision: 75760
Log:
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
........
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/Doc/library/collections.rst
Modified: python/branches/release26-maint/Doc/library/collections.rst
==============================================================================
--- python/branches/release26-maint/Doc/library/collections.rst (original)
+++ python/branches/release26-maint/Doc/library/collections.rst Tue Oct 27 14:21:23 2009
@@ -155,12 +155,9 @@
* 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 @@
deque(['c', 'b', 'a'])
-.. _deque-recipes:
-
:class:`deque` Recipes
^^^^^^^^^^^^^^^^^^^^^^
@@ -355,12 +350,10 @@
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 @@
``None``, if absent.
-.. _defaultdict-examples:
-
:class:`defaultdict` Examples
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -477,8 +468,6 @@
[('blue', set([2, 4])), ('red', set([1, 3]))]
-.. _named-tuple-factory:
-
:func:`namedtuple` Factory Function for Tuples with Named Fields
----------------------------------------------------------------
More information about the Python-checkins
mailing list