]> 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:55:45 +0000 (08:55 -0700)
committerGitHub <noreply@github.com>
Wed, 24 Aug 2022 15:55:45 +0000 (08:55 -0700)
commit41e8257449c2c44bbe8fc9577cdf5ba0c54b867d
treef158687b9a3997525cb71b0ca063d31a7689cb46
parent83ff85bc593fb34a2bd81fd00656d6dc0fee06fa
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