]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
docs: fix a grammatical error in function.rst (#140990)
authorRayXu <140802139+F18-Maverick@users.noreply.github.com>
Thu, 6 Nov 2025 05:48:30 +0000 (13:48 +0800)
committerGitHub <noreply@github.com>
Thu, 6 Nov 2025 05:48:30 +0000 (11:18 +0530)
Doc/c-api/function.rst

index 764b2ac610be4db8ae0d12dee9f1d6d689f0c8e7..0bac638957155e06630a767a83ece44450b70b41 100644 (file)
@@ -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.