From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 21 May 2023 06:06:17 +0000 (-0700) Subject: [3.11] Corrected identifier (GH-104713) (#104714) X-Git-Tag: v3.11.4~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc0c41b2e5ec64854caa9055f2c7388e22fa4bf8;p=thirdparty%2FPython%2Fcpython.git [3.11] Corrected identifier (GH-104713) (#104714) Corrected identifier (GH-104713) (cherry picked from commit 60993ba8b4a04dfcf2d3067d919bcce160f01bd5) Co-authored-by: William Sawyer --- diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst index 6d90473f2367..dab4de9eb6ab 100644 --- a/Doc/library/operator.rst +++ b/Doc/library/operator.rst @@ -244,7 +244,7 @@ Operations which work with sequences (some of them with mappings too) include: .. function:: length_hint(obj, default=0) - Return an estimated length for the object *o*. First try to return its + Return an estimated length for the object *obj*. First try to return its actual length, then an estimate using :meth:`object.__length_hint__`, and finally return the default value.