Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! gh-127124: Change context watcher callback to a callable object
  • Loading branch information
rhansen committed Nov 26, 2024
commit 841e683900f6c80ebe951398e7b6b994b059ccd3
5 changes: 0 additions & 5 deletions Include/cpython/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ PyAPI_FUNC(int) PyContext_Enter(PyObject *);
PyAPI_FUNC(int) PyContext_Exit(PyObject *);

typedef enum {
/*
* The current context has switched to a different context. The object
* passed to the watch callback is the now-current contextvars.Context
* object, or None if no context is current.
*/
Py_CONTEXT_SWITCHED = 1,
} PyContextEvent;

Expand Down