summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-05-18 22:36:55 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-05-18 22:36:55 (GMT)
commit315e104d11c36b9f4de0a125d639e834e06ed3e6 (patch)
treead8f2e022087ca535ed1337acb650f654af801e5 /Doc/library/collections.rst
parent2a8baed833f70f074252e72b9062b76b35cc422f (diff)
downloadcpython-315e104d11c36b9f4de0a125d639e834e06ed3e6.zip
cpython-315e104d11c36b9f4de0a125d639e834e06ed3e6.tar.gz
cpython-315e104d11c36b9f4de0a125d639e834e06ed3e6.tar.bz2
Issue #24232: Fix typos. Patch by Ville Skyttä.
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r--Doc/library/collections.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 50cc97c..b6ffd5e 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -333,7 +333,7 @@ counts, but the output will exclude results with counts of zero or less.
>>> c | d # union: max(c[x], d[x])
Counter({'a': 3, 'b': 2})
-Unary addition and substraction are shortcuts for adding an empty counter
+Unary addition and subtraction are shortcuts for adding an empty counter
or subtracting from an empty counter.
>>> c = Counter(a=2, b=-4)