Commit 21922aa9 authored by Guido van Rossum's avatar Guido van Rossum

PyObject_Repr(): add missing ">" back at end of format string: "<%s

object at %p>".
parent 71ebc335
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment