mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-98831: Modernize CALL and family (#101508)
Includes a slight improvement to `DECREF_INPUTS()`.
This commit is contained in:
parent
d9de079248
commit
616aec1ff1
6 changed files with 644 additions and 586 deletions
|
@ -347,3 +347,6 @@ GETITEM(PyObject *v, Py_ssize_t i) {
|
|||
} while (0);
|
||||
|
||||
#define NAME_ERROR_MSG "name '%.200s' is not defined"
|
||||
|
||||
#define KWNAMES_LEN() \
|
||||
(kwnames == NULL ? 0 : ((int)PyTuple_GET_SIZE(kwnames)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue