From 6969eaf4682beb01bc95eeb14f5ce6c01312e297 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 3 Jul 2017 21:20:15 +0300 Subject: bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955) the bare METH_FASTCALL be used for functions with positional-only parameters. --- Objects/dictobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Objects/dictobject.c') diff --git a/Objects/dictobject.c b/Objects/dictobject.c index e446b80890..c44ff47f8b 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -2341,8 +2341,8 @@ dict_update_common(PyObject *self, PyObject *args, PyObject *kwds, } /* Note: dict.update() uses the METH_VARARGS|METH_KEYWORDS calling convention. - Using METH_FASTCALL would make dict.update(**dict2) calls slower, see the - issue #29312. */ + Using METH_FASTCALL|METH_KEYWORDS would make dict.update(**dict2) calls + slower, see the issue #29312. */ static PyObject * dict_update(PyObject *self, PyObject *args, PyObject *kwds) { -- cgit v1.2.1