mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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
(cherry picked from commit 0927a2b25c
)
This commit is contained in:
parent
bd907dcc50
commit
0d4a76654f
5 changed files with 29 additions and 29 deletions
|
@ -1997,7 +1997,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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue