diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-22 21:35:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 21:35:27 (GMT) |
commit | 0927a2b25c059988e237108605ed8ab0c5459c53 (patch) | |
tree | 7206194adb7cf5dd1030f645b2a23cbd6e0cfad1 /Python/ceval.c | |
parent | b7dc795dfd175c0d25a479cfaf94a13c368a5a7b (diff) | |
download | cpython-0927a2b25c059988e237108605ed8ab0c5459c53.zip cpython-0927a2b25c059988e237108605ed8ab0c5459c53.tar.gz cpython-0927a2b25c059988e237108605ed8ab0c5459c53.tar.bz2 |
GH-103082: Rename PY_MONITORING_EVENTS to _PY_MONITORING_EVENTS (#107069)
Rename private C API constants:
* Rename PY_MONITORING_UNGROUPED_EVENTS to _PY_MONITORING_UNGROUPED_EVENTS
* Rename PY_MONITORING_EVENTS to _PY_MONITORING_EVENTS
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index e9f082f..a8987ef 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -1914,7 +1914,7 @@ static int do_monitor_exc(PyThreadState *tstate, _PyInterpreterFrame *frame, _Py_CODEUNIT *instr, int event) { - assert(event < PY_MONITORING_UNGROUPED_EVENTS); + assert(event < _PY_MONITORING_UNGROUPED_EVENTS); PyObject *exc = PyErr_GetRaisedException(); assert(exc != NULL); int err = _Py_call_instrumentation_arg(tstate, event, frame, instr, exc); |