From: RayXu <140802139+F18-Maverick@users.noreply.github.com> Date: Thu, 6 Nov 2025 05:48:30 +0000 (+0800) Subject: docs: fix a grammatical error in function.rst (#140990) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9037a386c6ed0c71cf8525ef91c55694ebeedc36;p=thirdparty%2FPython%2Fcpython.git docs: fix a grammatical error in function.rst (#140990) --- diff --git a/Doc/c-api/function.rst b/Doc/c-api/function.rst index 764b2ac610be..0bac63895715 100644 --- a/Doc/c-api/function.rst +++ b/Doc/c-api/function.rst @@ -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.