Skip to content

Commit 9037a38

Browse files
authored
docs: fix a grammatical error in function.rst (#140990)
1 parent 8822166 commit 9037a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/function.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ There are a few functions specific to Python functions.
200200
runtime behavior depending on optimization decisions, it does not change
201201
the semantics of the Python code being executed.
202202
203-
If *event* is ``PyFunction_EVENT_DESTROY``, Taking a reference in the
203+
If *event* is ``PyFunction_EVENT_DESTROY``, taking a reference in the
204204
callback to the about-to-be-destroyed function will resurrect it, preventing
205205
it from being freed at this time. When the resurrected object is destroyed
206206
later, any watcher callbacks active at that time will be called again.

0 commit comments

Comments
 (0)