| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -273,6 +273,9 @@ attributes (see :ref:`import-mod-attrs` for module attributes): | |||
| 273 | 273 | +-----------------+-------------------+---------------------------+ | |
| 274 | 274 | | | ag_running | is the generator running? | | |
| 275 | 275 | +-----------------+-------------------+---------------------------+ | |
| 276 | + | | ag_suspended | is the generator | | ||
| 277 | + | | | suspended? | | ||
| 278 | + +-----------------+-------------------+---------------------------+ | ||
| 276 | 279 | | | ag_code | code | | |
| 277 | 280 | +-----------------+-------------------+---------------------------+ | |
| 278 | 281 | | coroutine | __name__ | name | | |
@@ -286,6 +289,9 @@ attributes (see :ref:`import-mod-attrs` for module attributes): | |||
| 286 | 289 | +-----------------+-------------------+---------------------------+ | |
| 287 | 290 | | | cr_running | is the coroutine running? | | |
| 288 | 291 | +-----------------+-------------------+---------------------------+ | |
| 292 | + | | cr_suspended | is the coroutine | | ||
| 293 | + | | | suspended? | | ||
| 294 | + +-----------------+-------------------+---------------------------+ | ||
| 289 | 295 | | | cr_code | code | | |
| 290 | 296 | +-----------------+-------------------+---------------------------+ | |
| 291 | 297 | | | cr_origin | where coroutine was | | |
@@ -319,6 +325,18 @@ attributes (see :ref:`import-mod-attrs` for module attributes): | |||
| 319 | 325 | ||
| 320 | 326 | Add ``__builtins__`` attribute to functions. | |
| 321 | 327 | ||
| 328 | + .. versionchanged:: 3.11 | ||
| 329 | + | ||
| 330 | + Add ``gi_suspended`` attribute to generators. | ||
| 331 | + | ||
| 332 | + .. versionchanged:: 3.11 | ||
| 333 | + | ||
| 334 | + Add ``cr_suspended`` attribute to coroutines. | ||
| 335 | + | ||
| 336 | + .. versionchanged:: 3.12 | ||
| 337 | + | ||
| 338 | + Add ``ag_suspended`` attribute to async generators. | ||
| 339 | + | ||
| 322 | 340 | .. versionchanged:: 3.14 | |
| 323 | 341 | ||
| 324 | 342 | Add ``f_generator`` attribute to frames. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments