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 /Objects/stringlib/formatter.h | |
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 'Objects/stringlib/formatter.h')
-rw-r--r-- | Objects/stringlib/formatter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/formatter.h b/Objects/stringlib/formatter.h index ee0971ddbb..b4f6e3c018 100644 --- a/Objects/stringlib/formatter.h +++ b/Objects/stringlib/formatter.h @@ -469,7 +469,7 @@ format_long_internal(PyObject *value, const InternalFormatSpec *format) /* taken from unicodeobject.c formatchar() */ /* Integer input truncated to a character */ - x = PyInt_AsLong(value); + x = PyLong_AsLong(value); if (x == -1 && PyErr_Occurred()) goto done; #ifdef Py_UNICODE_WIDE |