diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-07-14 04:13:29 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-07-14 04:13:29 (GMT) |
commit | ab078e9ed1a5d1b693d6ee843f1a34e8993e9dee (patch) | |
tree | 55e6e21b81315f126e76357af7e545cfe498d778 /Objects | |
parent | fb4f8257bfa4471764e10c1d8525a5bb7b0145e5 (diff) | |
download | cpython-ab078e9ed1a5d1b693d6ee843f1a34e8993e9dee.zip cpython-ab078e9ed1a5d1b693d6ee843f1a34e8993e9dee.tar.gz cpython-ab078e9ed1a5d1b693d6ee843f1a34e8993e9dee.tar.bz2 |
Backed out changeset af29d89083b3 (closes #25548) (closes #27498)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 618d629..5227f6a 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -859,9 +859,9 @@ type_repr(PyTypeObject *type) } if (mod != NULL && _PyUnicode_CompareWithId(mod, &PyId_builtins)) - rtn = PyUnicode_FromFormat("<class '%U.%U' at %p>", mod, name, type); - else - rtn = PyUnicode_FromFormat("<class '%s' at %p>", type->tp_name, type); + rtn = PyUnicode_FromFormat("<class '%U.%U'>", mod, name); + else + rtn = PyUnicode_FromFormat("<class '%s'>", type->tp_name); Py_XDECREF(mod); Py_DECREF(name); |