diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-07-03 04:23:30 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-07-03 04:23:30 (GMT) |
commit | e13f8f3cabda31742beba3dc9e5e170d7bbdbb88 (patch) | |
tree | 6a38a8202924e2cc983b91490f32c571bf07ce45 /Doc/library/inspect.rst | |
parent | b32b998bf7ccc8718f1f086f2e3d2658f2e5b224 (diff) | |
download | cpython-e13f8f3cabda31742beba3dc9e5e170d7bbdbb88.zip cpython-e13f8f3cabda31742beba3dc9e5e170d7bbdbb88.tar.gz cpython-e13f8f3cabda31742beba3dc9e5e170d7bbdbb88.tar.bz2 |
Issue #24450: Add gi_yieldfrom to generators; cr_await to coroutines.
Patch by Benno Leslie and Yury Selivanov.
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r-- | Doc/library/inspect.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 24d106d..d21672f 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -182,12 +182,19 @@ attributes: +-----------+-----------------+---------------------------+ | | __qualname__ | qualified name | +-----------+-----------------+---------------------------+ +| | cr_await | object being awaited on, | +| | | or ``None`` | ++-----------+-----------------+---------------------------+ | | cr_frame | frame | +-----------+-----------------+---------------------------+ | | cr_running | is the coroutine running? | +-----------+-----------------+---------------------------+ | | cr_code | code | +-----------+-----------------+---------------------------+ +| | gi_yieldfrom | object being iterated by | +| | | ``yield from``, or | +| | | ``None`` | ++-----------+-----------------+---------------------------+ | builtin | __doc__ | documentation string | +-----------+-----------------+---------------------------+ | | __name__ | original name of this | |