diff options
author | Guido van Rossum <guido@python.org> | 2001-08-30 20:26:05 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-30 20:26:05 (GMT) |
commit | 21922aa9393996b1ea3f324759e158ec623acb43 (patch) | |
tree | d864a5da2ab2ebc5347b64fff7c2b1f03c2e63ff /Objects | |
parent | 71ebc3359bb1a5106ba3c282746817d5d44e735b (diff) | |
download | cpython-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')
-rw-r--r-- | Objects/object.c | 2 |
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; |