[Python-checkins] r81710 - python/trunk/Objects/typeobject.c

benjamin.peterson python-checkins at python.org
Sat Jun 5 03:00:10 CEST 2010


Author: benjamin.peterson
Date: Sat Jun  5 03:00:10 2010
New Revision: 81710

Log:
fix ref counting

Modified:
   python/trunk/Objects/typeobject.c

Modified: python/trunk/Objects/typeobject.c
==============================================================================
--- python/trunk/Objects/typeobject.c	(original)
+++ python/trunk/Objects/typeobject.c	Sat Jun  5 03:00:10 2010
@@ -3448,7 +3448,7 @@
             goto done;
             */
         }
-        return PyObject_Format(self_as_str, format_spec);
+        result = PyObject_Format(self_as_str, format_spec);
     }
 
 done:


More information about the Python-checkins mailing list