Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(159620)

Unified Diff: Objects/fileobject.c

Issue 27809: _PyObject_FastCall(): add support for keyword arguments
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Objects/abstract.c ('k') | Objects/iterobject.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Objects/fileobject.c Mon Aug 22 14:29:54 2016 +0200
+++ b/Objects/fileobject.c Mon Aug 22 15:32:49 2016 +0200
@@ -146,7 +146,7 @@ PyFile_WriteObject(PyObject *v, PyObject
Py_DECREF(writer);
return -1;
}
- result = _PyObject_FastCall(writer, &value, 1, NULL);
+ result = _PyObject_CallArg1(writer, value);
Py_DECREF(value);
Py_DECREF(writer);
if (result == NULL)
« no previous file with comments | « Objects/abstract.c ('k') | Objects/iterobject.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+