diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-08-22 22:48:54 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-08-22 22:48:54 +0200 |
commit | 559bb6a71399af3b1b2a0ba97230d2bcc649e993 (patch) | |
tree | 94927374ac025ae249aa487ce4a17df99c3df2d8 /Objects/fileobject.c | |
parent | Issue #27587: Merge from 3.5 (diff) | |
download | cpython-559bb6a71399af3b1b2a0ba97230d2bcc649e993.tar.gz cpython-559bb6a71399af3b1b2a0ba97230d2bcc649e993.tar.bz2 cpython-559bb6a71399af3b1b2a0ba97230d2bcc649e993.zip |
Rename _PyObject_FastCall() to _PyObject_FastCallDict()
Issue #27809:
* Rename _PyObject_FastCall() function to _PyObject_FastCallDict()
* Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1()
macros calling _PyObject_FastCallDict()
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r-- | Objects/fileobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 83348a8ee3c..f4424184d2d 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -146,7 +146,7 @@ PyFile_WriteObject(PyObject *v, PyObject *f, int flags) 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) |