mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
gh-119333: get interp from tstate for PyContext watchers(#124444)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This commit is contained in:
parent
de929f353c
commit
46f5cbca4c
2 changed files with 6 additions and 7 deletions
|
|
@ -33,10 +33,9 @@ typedef enum {
|
|||
} PyContextEvent;
|
||||
|
||||
/*
|
||||
* A Callback to clue in non-python contexts impls about a
|
||||
* change in the active python context.
|
||||
* Callback to be invoked when a context object is entered or exited.
|
||||
*
|
||||
* The callback is invoked with the event and a reference to =
|
||||
* The callback is invoked with the event and a reference to
|
||||
* the context after its entered and before its exited.
|
||||
*
|
||||
* if the callback returns with an exception set, it must return -1. Otherwise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue