From 0b9a1ec931b8f12f8551da5eb6ba0b6135ba0042 Mon Sep 17 00:00:00 2001 From: Yongtao Huang Date: Wed, 21 Jan 2026 14:58:42 +0800 Subject: [PATCH] Fix incorrect reference in isasyncgenfunction docs --- Doc/library/inspect.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)