diff options
| author | Tian Gao <gaogaotiantian@hotmail.com> | 2024-03-15 14:46:18 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-15 14:46:18 (GMT) |
| commit | 59e30f41ed6f2388a99ac0a8aebf0a12f7460a4a (patch) | |
| tree | 8e9eb36f26ed71554179379ee8370a0d32455a83 /Python/generated_cases.c.h | |
| parent | d180b507c4929be399395bfd7946948f98ffc4f7 (diff) | |
| download | cpython-59e30f41ed6f2388a99ac0a8aebf0a12f7460a4a.zip cpython-59e30f41ed6f2388a99ac0a8aebf0a12f7460a4a.tar.gz cpython-59e30f41ed6f2388a99ac0a8aebf0a12f7460a4a.tar.bz2 | |
gh-116735: Use `MISSING` for `CALL` event if argument is absent (GH-116737)
Diffstat (limited to 'Python/generated_cases.c.h')
| -rw-r--r-- | Python/generated_cases.c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h index 2fbd9ed..82d7b76 100644 --- a/Python/generated_cases.c.h +++ b/Python/generated_cases.c.h @@ -1227,7 +1227,7 @@ EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_FUNCTION_EX, func); if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) { PyObject *arg = PyTuple_GET_SIZE(callargs) > 0 ? - PyTuple_GET_ITEM(callargs, 0) : Py_None; + PyTuple_GET_ITEM(callargs, 0) : &_PyInstrumentation_MISSING; int err = _Py_call_instrumentation_2args( tstate, PY_MONITORING_EVENT_CALL, frame, this_instr, func, arg); |
