summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-03-10 03:52:44 -0700
committerGitHub <noreply@github.com>2019-03-10 03:52:44 -0700
commite4be2057d4bd06eb56fbfef4e4ed88fff7fb47cd (patch)
tree5daa344b215c6ef3f344057f66ace209d36e7c95 /Objects
parente5123d81ffb3be35a1b2767d6ced1a097aaf77be (diff)
downloadcpython-git-e4be2057d4bd06eb56fbfef4e4ed88fff7fb47cd.tar.gz
bpo-36251: Fix format strings used in match_repr() and stdprinter_repr(). (GH-12252)
(cherry picked from commit 8b91edadc06dcb0d391a65d1ecdf07dcb429df1b) Co-authored-by: sth <sth.dev@tejp.de>
Diffstat (limited to 'Objects')
-rw-r--r--Objects/fileobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index ed4e12ba8a..d886e96e0f 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -407,7 +407,7 @@ stdprinter_fileno(PyStdPrinter_Object *self)
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);
}