summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-30 20:26:05 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-30 20:26:05 (GMT)
commit21922aa9393996b1ea3f324759e158ec623acb43 (patch)
treed864a5da2ab2ebc5347b64fff7c2b1f03c2e63ff /Objects/object.c
parent71ebc3359bb1a5106ba3c282746817d5d44e735b (diff)
downloadcpython-21922aa9393996b1ea3f324759e158ec623acb43.zip
cpython-21922aa9393996b1ea3f324759e158ec623acb43.tar.gz
cpython-21922aa9393996b1ea3f324759e158ec623acb43.tar.bz2
PyObject_Repr(): add missing ">" back at end of format string: "<%s
object at %p>".
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c2
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;