diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-04-23 20:01:20 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-04-23 20:01:20 +0000 |
commit | 9f4c73ad5c32932a8df83c3304699dabd7f7647e (patch) | |
tree | 8b92860f6d30983d508cae2ac60c466f68ef1db3 /Python/pythonrun.c | |
parent | f2b7eac5700fc16b4341f257ff2b0ae37f369d23 (diff) | |
download | cpython-9f4c73ad5c32932a8df83c3304699dabd7f7647e.tar.gz |
Clarify return value of PyLong_AsLongLong().
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions