mirror of
https://github.com/python/cpython.git
synced 2026-05-08 13:40:46 -04:00
ab30934365
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 42b25dd61f)
Co-authored-by: Victor Stinner <vstinner@python.org>