]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Counter doc mentions three methods, but lists four (GH-30706)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 19 Feb 2022 02:49:48 +0000 (18:49 -0800)
committerGitHub <noreply@github.com>
Sat, 19 Feb 2022 02:49:48 +0000 (18:49 -0800)
Was probably caused by the addition of the `total()` method
(cherry picked from commit 99331fcf175b03b6b82451ac9aa953b476ab48e0)

Co-authored-by: Charles Brunet <charles.brunet@optelgroup.com>
Doc/library/collections.rst

index e00b75fa9be19137548ddb7250df153d542fec59..f3b8e2abe5e5db0e4e67d14d4633e0c60c40f218 100644 (file)
@@ -277,7 +277,7 @@ For example::
        according to when an element is first encountered in the left operand
        and then by the order encountered in the right operand.
 
-    Counter objects support three methods beyond those available for all
+    Counter objects support additional methods beyond those available for all
     dictionaries:
 
     .. method:: elements()