summaryrefslogtreecommitdiff
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-08-17 13:04:41 -0400
committerYury Selivanov <yselivanov@sprymix.com>2015-08-17 13:04:41 -0400
commit3a97d276d4bd7c127be48ba3fe7670a5122883de (patch)
treefe708d2c524bb38c7c4f3c560c0d96c528c6bada /Doc/library/inspect.rst
parent32c97401085e60d2a6d242d962b8faa4c34e96cd (diff)
downloadcpython-3a97d276d4bd7c127be48ba3fe7670a5122883de.tar.gz
docs: Clarify that gi_yieldfrom was first added in 3.5
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst7
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])