From: Yongtao Huang Date: Fri, 23 Jan 2026 08:06:47 +0000 (+0800) Subject: Doc: fix incorrect reference in `isasyncgenfunction` docs (GH-144099) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3dd0cae6cea38b15b42b20d39c7142a4a0f716e;p=thirdparty%2FPython%2Fcpython.git Doc: fix incorrect reference in `isasyncgenfunction` docs (GH-144099) Fix incorrect reference in isasyncgenfunction docs --- diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 9e53dd70ab56..5133f9f0c8e4 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)