We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9c3ee commit f8fcab2Copy full SHA for f8fcab2
Doc/c-api/function.rst
@@ -200,7 +200,7 @@ There are a few functions specific to Python functions.
200
runtime behavior depending on optimization decisions, it does not change
201
the semantics of the Python code being executed.
202
203
- If *event* is ``PyFunction_EVENT_DESTROY``, Taking a reference in the
+ If *event* is ``PyFunction_EVENT_DESTROY``, taking a reference in the
204
callback to the about-to-be-destroyed function will resurrect it, preventing
205
it from being freed at this time. When the resurrected object is destroyed
206
later, any watcher callbacks active at that time will be called again.
0 commit comments