Skip to content

Commit be25720

Browse files
committed
Fix NEWS markup
1 parent 71a9532 commit be25720

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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
1+
Add ``gi_state``, ``cr_state``, and ``ag_state`` attributes to generators,
2+
coroutines, and async generators that return the current state as a string
3+
(e.g., ``GEN_RUNNING``). The :mod:`inspect` module functions
54
:func:`~inspect.getgeneratorstate`, :func:`~inspect.getcoroutinestate`, and
65
:func:`~inspect.getasyncgenstate` now return these attributes directly.

0 commit comments

Comments
 (0)