Skip to content

Commit 92949c8

Browse files
fix typo
1 parent e746dcf commit 92949c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/instrumentation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3031,7 +3031,7 @@ _PyMonitoring_RegisterCallback(int tool_id, int event_id, PyObject *obj)
30313031
}
30323032
PyInterpreterState *interp = _PyInterpreterState_GET();
30333033
_PyEval_StopTheWorld(interp);
3034-
PyObject *old_right = &interp->monitoring_callables[tool_id][PY_MONITORING_EVENT_BRANCH_RIGHT];
3034+
PyObject *old_right = interp->monitoring_callables[tool_id][PY_MONITORING_EVENT_BRANCH_RIGHT];
30353035
interp->monitoring_callables[tool_id][PY_MONITORING_EVENT_BRANCH_RIGHT] = right;
30363036
res = interp->monitoring_callables[tool_id][PY_MONITORING_EVENT_BRANCH_LEFT];
30373037
interp->monitoring_callables[tool_id][PY_MONITORING_EVENT_BRANCH_LEFT] = left;

0 commit comments

Comments
 (0)