summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-06-05 01:00:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-06-05 01:00:10 (GMT)
commit67783b1f71aca25573b736121ff32098c7cbf4f8 (patch)
tree25cb54953370001754d4f3580591188bf5ea796c /Objects
parent039c585805f50411f868dd315f1315ca7ccc9573 (diff)
downloadcpython-67783b1f71aca25573b736121ff32098c7cbf4f8.zip
cpython-67783b1f71aca25573b736121ff32098c7cbf4f8.tar.gz
cpython-67783b1f71aca25573b736121ff32098c7cbf4f8.tar.bz2
fix ref counting
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index b9498e5..605d8a0 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -3448,7 +3448,7 @@ object_format(PyObject *self, PyObject *args)
goto done;
*/
}
- return PyObject_Format(self_as_str, format_spec);
+ result = PyObject_Format(self_as_str, format_spec);
}
done: