diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-08-17 13:04:41 -0400 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-08-17 13:04:41 -0400 |
commit | 3a97d276d4bd7c127be48ba3fe7670a5122883de (patch) | |
tree | fe708d2c524bb38c7c4f3c560c0d96c528c6bada /Doc | |
parent | 32c97401085e60d2a6d242d962b8faa4c34e96cd (diff) | |
download | cpython-3a97d276d4bd7c127be48ba3fe7670a5122883de.tar.gz |
docs: Clarify that gi_yieldfrom was first added in 3.5
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/inspect.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 3ffc1152be..d2247e844f 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -209,9 +209,10 @@ attributes: .. versionchanged:: 3.5 - Add ``__qualname__`` attribute to generators. The ``__name__`` attribute of - generators is now set from the function name, instead of the code name, and - it can now be modified. + Add ``__qualname__`` and ``gi_yieldfrom`` attributes to generators. + + The ``__name__`` attribute of generators is now set from the function + name, instead of the code name, and it can now be modified. .. function:: getmembers(object[, predicate]) |