Skip to content

Commit 3e28b5f

Browse files
committed
fixup! pythongh-127124: Change context watcher callback to a callable object
1 parent 133e00c commit 3e28b5f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎Include/cpython/context.h‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ PyAPI_FUNC(int) PyContext_Enter(PyObject *);
2828
PyAPI_FUNC(int) PyContext_Exit(PyObject *);
2929

3030
typedef enum {
31-
/*
32-
* The current context has switched to a different context. The object
33-
* passed to the watch callback is the now-current contextvars.Context
34-
* object, or None if no context is current.
35-
*/
3631
Py_CONTEXT_SWITCHED = 1,
3732
} PyContextEvent;
3833

0 commit comments

Comments
 (0)