summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-05-18 22:38:05 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-05-18 22:38:05 (GMT)
commitfee05daef8b9e0e0977e413260009ebf54bf4486 (patch)
tree9990a0b16bd1c375b112cdb825ab35f977974cf9 /Doc/library/collections.rst
parent5f120fcecbf212b12334229911d21d53535c5096 (diff)
parent315e104d11c36b9f4de0a125d639e834e06ed3e6 (diff)
downloadcpython-fee05daef8b9e0e0977e413260009ebf54bf4486.zip
cpython-fee05daef8b9e0e0977e413260009ebf54bf4486.tar.gz
cpython-fee05daef8b9e0e0977e413260009ebf54bf4486.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 5a52c7a..3c4d175 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)