From: Ezio Melotti Date: Sun, 4 Apr 2010 06:41:27 +0000 (+0000) Subject: Add a versionadded to Counter.subtract() doc. X-Git-Tag: v2.7b1~81 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0cee3794c7c9167ff2141bf13c2379edd0c5cec9;p=thirdparty%2FPython%2Fcpython.git Add a versionadded to Counter.subtract() doc. --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index f4ba51ab9ad7..f57910124aae 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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.