mirror of
https://github.com/python/cpython.git
synced 2026-07-31 14:16:33 -04:00
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 <[email protected]>