]> granicus.if.org Git - python/commitdiff
Revert 79733 - Counter is new in 2.7, the versionadded is not necessary - and fix...
authorEzio Melotti <ezio.melotti@gmail.com>
Sun, 4 Apr 2010 06:50:58 +0000 (06:50 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Sun, 4 Apr 2010 06:50:58 +0000 (06:50 +0000)
Doc/library/collections.rst

index f57910124aae38a4609955734edf35c27715a8e7..075b0157fa733945c4c31b59dade1af1863c41c7 100644 (file)
@@ -207,7 +207,7 @@ For example::
    .. versionadded:: 2.7
 
 
-   Counter objects support two methods beyond those available for all
+   Counter objects support three methods beyond those available for all
    dictionaries:
 
    .. method:: elements()
@@ -241,8 +241,6 @@ For example::
             >>> c.subtract(d)
             Counter({'a': 3, 'b': 0, 'c': -3, 'd': -6})
 
-      .. versionadded:: 2.7
-
    The usual dictionary methods are available for :class:`Counter` objects
    except for two which work differently for counters.