From 0cee3794c7c9167ff2141bf13c2379edd0c5cec9 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sun, 4 Apr 2010 06:41:27 +0000 Subject: Add a versionadded to Counter.subtract() doc. --- Doc/library/collections.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index f4ba51a..f579101 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. -- cgit v0.12