diff options
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index 615a11b..7b9e280 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -212,7 +212,7 @@ PyObject_Repr(PyObject *v) if (v == NULL) return PyString_FromString("<NULL>"); else if (v->ob_type->tp_repr == NULL) - return PyString_FromFormat("<%s object at %p", + return PyString_FromFormat("<%s object at %p>", v->ob_type->tp_name, v); else { PyObject *res; |