summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-04-23 20:01:20 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2002-04-23 20:01:20 +0000
commit9f4c73ad5c32932a8df83c3304699dabd7f7647e (patch)
tree8b92860f6d30983d508cae2ac60c466f68ef1db3 /Python/pythonrun.c
parentf2b7eac5700fc16b4341f257ff2b0ae37f369d23 (diff)
downloadcpython-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