diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-02 14:31:20 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-02 14:31:20 +0000 |
commit | b322e41d3672c465db3aca80419689f1902c6612 (patch) | |
tree | 0a4fb14529a5f623c49b0bca97d9af5d2677c056 /Python/errors.c | |
parent | 7d4a05a4ebffb688137ca5b5a92825a756927e7e (diff) | |
download | cpython-b322e41d3672c465db3aca80419689f1902c6612.tar.gz |
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
Diffstat (limited to 'Python/errors.c')
-rw-r--r-- | Python/errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c index 063187bf51..79f711dd83 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -752,7 +752,7 @@ PyErr_SyntaxLocation(const char *filename, int lineno) PyErr_NormalizeException(&exc, &v, &tb); /* XXX check that it is, indeed, a syntax error. It might not * be, though. */ - tmp = PyInt_FromLong(lineno); + tmp = PyLong_FromLong(lineno); if (tmp == NULL) PyErr_Clear(); else { |