[Python-checkins] r79733 - python/trunk/Doc/library/collections.rst
ezio.melotti
python-checkins at python.org
Sun Apr 4 08:41:27 CEST 2010
Author: ezio.melotti
Date: Sun Apr 4 08:41:27 2010
New Revision: 79733
Log:
Add a versionadded to Counter.subtract() doc.
Modified:
python/trunk/Doc/library/collections.rst
Modified: python/trunk/Doc/library/collections.rst
==============================================================================
--- python/trunk/Doc/library/collections.rst (original)
+++ python/trunk/Doc/library/collections.rst Sun Apr 4 08:41:27 2010
@@ -241,6 +241,8 @@
>>> 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.
More information about the Python-checkins
mailing list