gh-119333: get interp from tstate for PyContext watchers(#124444)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This commit is contained in:
Jason Fried 2024-09-25 22:26:23 -07:00 committed by GitHub
parent de929f353c
commit 46f5cbca4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 7 deletions

View file

@ -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