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

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

(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 27043c90ea2f90..7bfacc78988751 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -524,7 +524,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