From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 19 Feb 2022 02:49:48 +0000 (-0800) Subject: Counter doc mentions three methods, but lists four (GH-30706) X-Git-Tag: v3.9.11~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf1993210fdb5b9140c7710ca1a93ca661400f19;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 e00b75fa9be1..f3b8e2abe5e5 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()