]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-96179: Fix misleading example on the bisect documentation (GH-96228)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 Aug 2022 15:54:15 +0000 (08:54 -0700)
committerGitHub <noreply@github.com>
Wed, 24 Aug 2022 15:54:15 +0000 (08:54 -0700)
commitd02e8fbc5a4a9f43ceaacb32dee84f8f661a12d2
tree2c77b48da48c336d9709736c4e5e038d494c7a90
parentbf2728b9f1a9873f22382c72f21adb98046f613c
GH-96179: Fix misleading example on the bisect documentation (GH-96228)

The `movies[bisect(movies, 1960, key=by_year)]` will actually return only movies **after** 1960.
(cherry picked from commit 4317b25a2323ae4be04574e45de0e335c571c463)

Co-authored-by: prego <pedropregueiro@gmail.com>
Doc/library/bisect.rst
Misc/ACKS