[Python-checkins] CVS: python/dist/src/Objects object.c,2.141,2.142
Guido van Rossum
gvanrossum@users.sourceforge.net
Thu, 30 Aug 2001 13:26:07 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv5113
Modified Files:
object.c
Log Message:
PyObject_Repr(): add missing ">" back at end of format string: "<%s
object at %p>".
Index: object.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/object.c,v
retrieving revision 2.141
retrieving revision 2.142
diff -C2 -d -r2.141 -r2.142
*** object.c 2001/08/29 23:54:03 2.141
--- object.c 2001/08/30 20:26:05 2.142
***************
*** 213,217 ****
return PyString_FromString("<NULL>");
else if (v->ob_type->tp_repr == NULL)
! return PyString_FromFormat("<%s object at %p",
v->ob_type->tp_name, v);
else {
--- 213,217 ----
return PyString_FromString("<NULL>");
else if (v->ob_type->tp_repr == NULL)
! return PyString_FromFormat("<%s object at %p>",
v->ob_type->tp_name, v);
else {