summaryrefslogtreecommitdiffstats
path: root/Modules/_functoolsmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-08-22 20:48:54 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-08-22 20:48:54 (GMT)
commit559bb6a71399af3b1b2a0ba97230d2bcc649e993 (patch)
tree94927374ac025ae249aa487ce4a17df99c3df2d8 /Modules/_functoolsmodule.c
parentc98afb7a26ac611a4544c5b8dd445d8ea05e6360 (diff)
downloadcpython-559bb6a71399af3b1b2a0ba97230d2bcc649e993.zip
cpython-559bb6a71399af3b1b2a0ba97230d2bcc649e993.tar.gz
cpython-559bb6a71399af3b1b2a0ba97230d2bcc649e993.tar.bz2
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 'Modules/_functoolsmodule.c')
-rw-r--r--Modules/_functoolsmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_functoolsmodule.c b/Modules/_functoolsmodule.c
index f7dbf15..22e8088 100644
--- a/Modules/_functoolsmodule.c
+++ b/Modules/_functoolsmodule.c
@@ -492,7 +492,7 @@ keyobject_richcompare(PyObject *ko, PyObject *other, int op)
*/
stack[0] = x;
stack[1] = y;
- res = _PyObject_FastCall(compare, stack, 2, NULL);
+ res = _PyObject_FastCall(compare, stack, 2);
if (res == NULL) {
return NULL;
}