From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 11 May 2022 23:12:17 +0000 (-0700) Subject: Fix minor documentation error in bisect docs (GH-92697) X-Git-Tag: v3.10.5~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9f29bdd8f07491d765a3730fcbf5826938b64dc4;p=thirdparty%2FPython%2Fcpython.git Fix minor documentation error in bisect docs (GH-92697) (cherry picked from commit b3f99b69d03cf0ea72a567a81e8bc4bc074ab303) Co-authored-by: Steve Dower --- diff --git a/Doc/library/bisect.rst b/Doc/library/bisect.rst index 901a41f54920..513675d3685a 100644 --- a/Doc/library/bisect.rst +++ b/Doc/library/bisect.rst @@ -198,7 +198,7 @@ a 'B', and so on:: >>> [grade(score) for score in [33, 99, 77, 70, 89, 90, 100]] ['F', 'A', 'C', 'C', 'B', 'A', 'A'] -The :func:`bisect`function and :func:`insort` functions also work with lists of +The :func:`bisect` and :func:`insort` functions also work with lists of tuples. The *key* argument can serve to extract the field used for ordering records in a table::