Skip to content

Commit 841e683

Browse files
committed
fixup! pythongh-127124: Change context watcher callback to a callable object
1 parent e4367cb commit 841e683

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Include/cpython/context.h

-5
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)