Add a versionadded to Counter.subtract() doc.

This commit is contained in:
Ezio Melotti 2010-04-04 06:41:27 +00:00
parent 20ae90d887
commit 0cee3794c7
1 changed files with 2 additions and 0 deletions

View File

@ -241,6 +241,8 @@ 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.