From 53c1f47517707a6fa9a01ecc3884e84a876c8448 Mon Sep 17 00:00:00 2001 From: Yongtao Huang Date: Fri, 23 Jan 2026 16:06:47 +0800 Subject: [PATCH] Doc: fix incorrect reference in `isasyncgenfunction` docs (GH-144099) Fix incorrect reference in isasyncgenfunction docs (cherry picked from commit f3dd0cae6cea38b15b42b20d39c7142a4a0f716e) Co-authored-by: Yongtao Huang --- 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 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)