diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 45da4e55419..6ef114e6779 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -279,6 +279,7 @@ For example:: >>> c = Counter(a=4, b=2, c=0, d=-2) >>> d = Counter(a=1, b=2, c=3, d=4) >>> c.subtract(d) + >>> c Counter({'a': 3, 'b': 0, 'c': -3, 'd': -6}) .. versionadded:: 3.2