From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 19 Feb 2022 02:45:56 +0000 (-0800) Subject: Counter doc mentions three methods, but lists four (GH-30706) X-Git-Tag: v3.10.3~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75c5dbc27eb6d02677543b06e9001523e03a169a;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index b97bc425de9e..c45d90cbbc1c 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()