Commit 67783b1f authored by Benjamin Peterson's avatar Benjamin Peterson

fix ref counting

parent 039c5858
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment