mirror of
https://github.com/python/cpython.git
synced 2026-05-10 06:31:43 -04:00
14514d9084
The final addition (cur += step) may overflow, so use size_t for "cur". "cur" is always positive (even for negative steps), so it is safe to use size_t here. Co-Authored-By: Martin Panter <vadmium+py@gmail.com>