Skip to content

Commit 71a9532

Browse files
committed
Add versionchanged markup
1 parent 86c06fa commit 71a9532

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/library/inspect.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,11 @@ attributes (see :ref:`import-mod-attrs` for module attributes):
360360

361361
Add ``f_generator`` attribute to frames.
362362

363+
.. versionchanged:: next
364+
365+
Add ``gi_state`` attribute to generators, ``cr_state`` attribute to
366+
coroutines, and ``ag_state`` attribute to async generators.
367+
363368
.. function:: getmembers(object[, predicate])
364369

365370
Return all the members of an object in a list of ``(name, value)``

0 commit comments

Comments
 (0)