diff options
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r-- | Objects/fileobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 5d69911..f740977 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -413,7 +413,7 @@ stdprinter_write(PyStdPrinter_Object *self, PyObject *args) static PyObject * stdprinter_fileno(PyStdPrinter_Object *self) { - return PyInt_FromLong((long) self->fd); + return PyLong_FromLong((long) self->fd); } static PyObject * |