From: Steve Dower Date: Wed, 11 May 2022 22:56:58 +0000 (+0100) Subject: Fix minor documentation error in bisect docs (GH-92697) X-Git-Tag: v3.12.0a1~1573 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3f99b69d03cf0ea72a567a81e8bc4bc074ab303;p=thirdparty%2FPython%2Fcpython.git Fix minor documentation error in bisect docs (GH-92697) --- 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::