diff options
author | Guido van Rossum <guido@python.org> | 2023-02-08 19:40:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 19:40:10 (GMT) |
commit | 616aec1ff148ba4570aa2d4b8ea420c715c206e4 (patch) | |
tree | a3a7dcdbe60264dd511b01e5b0ff3cda9ecb6b66 /Python/ceval.c | |
parent | d9de0792482d2ded364b0c7d2867b97a5da41b12 (diff) | |
download | cpython-616aec1ff148ba4570aa2d4b8ea420c715c206e4.zip cpython-616aec1ff148ba4570aa2d4b8ea420c715c206e4.tar.gz cpython-616aec1ff148ba4570aa2d4b8ea420c715c206e4.tar.bz2 |
gh-98831: Modernize CALL and family (#101508)
Includes a slight improvement to `DECREF_INPUTS()`.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index a91f5ba..611d62b 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -688,12 +688,6 @@ static inline void _Py_LeaveRecursiveCallPy(PyThreadState *tstate) { } -// GH-89279: Must be a macro to be sure it's inlined by MSVC. -#define is_method(stack_pointer, args) (PEEK((args)+2) != NULL) - -#define KWNAMES_LEN() \ - (kwnames == NULL ? 0 : ((int)PyTuple_GET_SIZE(kwnames))) - /* Disable unused label warnings. They are handy for debugging, even if computed gotos aren't used. */ |