File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments