commit | 21922aa9393996b1ea3f324759e158ec623acb43 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 30 20:26:05 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 30 20:26:05 2001 +0000 |
tree | d864a5da2ab2ebc5347b64fff7c2b1f03c2e63ff | |
parent | 71ebc3359bb1a5106ba3c282746817d5d44e735b [diff] |
PyObject_Repr(): add missing ">" back at end of format string: "<%s object at %p>".
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 @@ 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;