PyObject_Repr(): add missing ">" back at end of format string: "<%s
object at %p>".
This commit is contained in:
parent
71ebc3359b
commit
21922aa939
@ -212,7 +212,7 @@ PyObject_Repr(PyObject *v)
|
|||||||
if (v == NULL)
|
if (v == NULL)
|
||||||
return PyString_FromString("<NULL>");
|
return PyString_FromString("<NULL>");
|
||||||
else if (v->ob_type->tp_repr == 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);
|
v->ob_type->tp_name, v);
|
||||||
else {
|
else {
|
||||||
PyObject *res;
|
PyObject *res;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user