Skip to content

Commit 0430163

Browse files
committed
chore: update doc
1 parent a43943e commit 0430163

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Doc/library/inspect.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,9 @@ attributes (see :ref:`import-mod-attrs` for module attributes):
295295
| | | created, or ``None``. See |
296296
| | | |coroutine-origin-link| |
297297
+-----------------+-------------------+---------------------------+
298+
| | cr_suspended | is the coroutine |
299+
| | | suspended? |
300+
+-----------------+-------------------+---------------------------+
298301
| builtin | __doc__ | documentation string |
299302
+-----------------+-------------------+---------------------------+
300303
| | __name__ | original name of this |
@@ -322,6 +325,13 @@ attributes (see :ref:`import-mod-attrs` for module attributes):
322325

323326
Add ``__builtins__`` attribute to functions.
324327

328+
.. versionchanged:: 3.11
329+
330+
Add ``gi_suspended`` attribute to generators.
331+
332+
.. versionchanged:: 3.11
333+
Add ``cr_suspended`` attribute to coroutines.
334+
325335
.. versionchanged:: 3.12
326336

327337
Add ``ag_suspended`` attribute to async generators.

0 commit comments

Comments
 (0)