We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71a9532 commit be25720Copy full SHA for be25720
1 file changed
Misc/NEWS.d/next/Core_and_Builtins/2026-02-02-17-50-14.gh-issue-120321.Xfr7tL.rst
@@ -1,6 +1,5 @@
1
-Add :attr:`~generator.gi_state`, :attr:`~coroutine.cr_state`, and
2
-:attr:`~types.AsyncGeneratorType.ag_state` attributes that return the current
3
-state of generators, coroutines, and async generators as a string (e.g.,
4
-``GEN_RUNNING``). The :mod:`inspect` module functions
+Add ``gi_state``, ``cr_state``, and ``ag_state`` attributes to generators,
+coroutines, and async generators that return the current state as a string
+(e.g., ``GEN_RUNNING``). The :mod:`inspect` module functions
5
:func:`~inspect.getgeneratorstate`, :func:`~inspect.getcoroutinestate`, and
6
:func:`~inspect.getasyncgenstate` now return these attributes directly.
0 commit comments