mirror of
https://github.com/python/cpython.git
synced 2026-05-30 08:06:21 -04:00
c4ad0bcbe5
The function is documented to return -1 on error. If res was < 0, it returned res. It wasn't clear that the invariant was res < 0 iff res == -1.