[Python-checkins] Counter doc mentions three methods, but lists four (GH-30706)
miss-islington
webhook-mailer at python.org
Fri Feb 18 21:46:23 EST 2022
https://github.com/python/cpython/commit/75c5dbc27eb6d02677543b06e9001523e03a169a
commit: 75c5dbc27eb6d02677543b06e9001523e03a169a
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-02-18T18:45:56-08:00
summary:
Counter doc mentions three methods, but lists four (GH-30706)
Was probably caused by the addition of the `total()` method
(cherry picked from commit 99331fcf175b03b6b82451ac9aa953b476ab48e0)
Co-authored-by: Charles Brunet <charles.brunet at optelgroup.com>
files:
M Doc/library/collections.rst
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index b97bc425de9eb..c45d90cbbc1c7 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -276,7 +276,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()
More information about the Python-checkins
mailing list