SIGN IN SIGN UP

[3.13] gh-120155: Add assertion to sre.c match_getindex() (GH-120402) (#120409)

gh-120155: Add assertion to sre.c match_getindex() (GH-120402)

Add an assertion to help static analyzers to detect that i*2 cannot
overflow.
(cherry picked from commit 42b25dd61ff3593795c4cc2ffe876ab766098b24)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
e04809299fc1a5f0ff0b567173439cb0b6f8e907
Parent: 91c4444
Committed by GitHub <noreply@github.com> on 6/12/2024, 2:07:36 PM