mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
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.
This commit is contained in:
parent
aa0aa0492c
commit
6969eaf468
76 changed files with 616 additions and 1916 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue