diff options
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index d011f7d..8bf04df 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -8628,7 +8628,7 @@ PyObject *PyUnicode_Format(PyObject *format, if (PyNumber_Check(v)) { PyObject *iobj=NULL; - if (PyInt_Check(v) || (PyLong_Check(v))) { + if (_PyAnyInt_Check(v)) { iobj = v; Py_INCREF(iobj); } |