summaryrefslogtreecommitdiffstats
path: root/Objects/fileobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r--Objects/fileobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index babaa05..39c7c10 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -411,7 +411,7 @@ stdprinter_fileno(PyStdPrinter_Object *self, PyObject *Py_UNUSED(ignored))
static PyObject *
stdprinter_repr(PyStdPrinter_Object *self)
{
- return PyUnicode_FromFormat("<stdprinter(fd=%d) object at 0x%x>",
+ return PyUnicode_FromFormat("<stdprinter(fd=%d) object at %p>",
self->fd, self);
}