[Python-checkins] Counter doc mentions three methods, but lists four (GH-30706)
miss-islington
webhook-mailer at python.org
Fri Feb 18 21:50:03 EST 2022
https://github.com/python/cpython/commit/cf1993210fdb5b9140c7710ca1a93ca661400f19
commit: cf1993210fdb5b9140c7710ca1a93ca661400f19
branch: 3.9
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:49:48-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 e00b75fa9be19..f3b8e2abe5e5d 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -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()
More information about the Python-checkins
mailing list