https://github.com/python/cpython/commit/62489c853339617faf4ecb680ab125fa894cbe21
commit: 62489c853339617faf4ecb680ab125fa894cbe21
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: encukou <[email protected]>
date: 2026-01-23T11:35:27+01:00
summary:

[3.13] Doc: fix incorrect reference in `isasyncgenfunction` docs (GH-144099) 
(GH-144171)

(cherry picked from commit f3dd0cae6cea38b15b42b20d39c7142a4a0f716e)

Co-authored-by: Yongtao Huang <[email protected]>

files:
M Doc/library/inspect.rst

diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index c1d2bd848038e2..8a7cdb04f5f269 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -483,7 +483,7 @@ attributes (see :ref:`import-mod-attrs` for module 
attributes):
 
    .. versionchanged:: 3.13
       Functions wrapped in :func:`functools.partialmethod` now return ``True``
-      if the wrapped function is a :term:`coroutine function`.
+      if the wrapped function is a :term:`asynchronous generator` function.
 
 .. function:: isasyncgen(object)
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to