Kaydet (Commit) e9eec547 authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix typo in error checking spotted by Just...

üst 74427e51
......@@ -982,7 +982,7 @@ PyFile_WriteObject(v, f, flags)
return -1;
}
args = Py_BuildValue("(O)", value);
if (value == NULL) {
if (args == NULL) {
Py_DECREF(value);
Py_DECREF(writer);
return -1;
......
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