From 21922aa9393996b1ea3f324759e158ec623acb43 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 30 Aug 2001 20:26:05 +0000 Subject: PyObject_Repr(): add missing ">" back at end of format string: "<%s object at %p>". --- Objects/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(""); 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; -- cgit v0.12