]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-107208: Fix iter_index() recipe to not swallow exceptions (gh-108835) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 Sep 2023 11:46:35 +0000 (04:46 -0700)
committerGitHub <noreply@github.com>
Mon, 4 Sep 2023 11:46:35 +0000 (13:46 +0200)
commit183bb673a8ce65d6bef6c8da44f34ba70f25340b
tree68bdf12c794b2bad9b2d08ff4af7c2c4e1b579cd
parentc8cf6be213826c8d0e3e2acbcf31b8c1069df3ed
[3.12] gh-107208: Fix iter_index() recipe to not swallow exceptions (gh-108835) (#108837)

gh-107208: Fix iter_index() recipe to not swallow exceptions (gh-108835)
(cherry picked from commit f373c6b9483e12d7f6e03a631601149ed60ab883)

gh-107208: iter_index now supports "stop" and no longer swallows ValueError

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Doc/library/itertools.rst