https://github.com/python/cpython/commit/f3dd0cae6cea38b15b42b20d39c7142a4a0f716e
commit: f3dd0cae6cea38b15b42b20d39c7142a4a0f716e
branch: main
author: Yongtao Huang <[email protected]>
committer: encukou <[email protected]>
date: 2026-01-23T09:06:47+01:00
summary:
Doc: fix incorrect reference in `isasyncgenfunction` docs (GH-144099)
Fix incorrect reference in isasyncgenfunction docs
files:
M Doc/library/inspect.rst
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 9e53dd70ab564e..5133f9f0c8e43b 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]