mirror of
https://github.com/python/cpython.git
synced 2026-02-13 19:04:37 +00:00
docs: fix a grammatical error in function.rst (#140990)
This commit is contained in:
parent
8822166200
commit
9037a386c6
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ There are a few functions specific to Python functions.
|
|||
runtime behavior depending on optimization decisions, it does not change
|
||||
the semantics of the Python code being executed.
|
||||
|
||||
If *event* is ``PyFunction_EVENT_DESTROY``, Taking a reference in the
|
||||
If *event* is ``PyFunction_EVENT_DESTROY``, taking a reference in the
|
||||
callback to the about-to-be-destroyed function will resurrect it, preventing
|
||||
it from being freed at this time. When the resurrected object is destroyed
|
||||
later, any watcher callbacks active at that time will be called again.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue