summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-08-17 17:04:41 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-08-17 17:04:41 (GMT)
commit5fbad3c9f2aec878df213607c527a09e07ba7729 (patch)
tree0a8c340aa4892a9415e919f9e1bfb6699ecb37f8 /Doc/library/inspect.rst
parentc135f0a8500475b5e649c6f76b8c99f0e2375847 (diff)
downloadcpython-5fbad3c9f2aec878df213607c527a09e07ba7729.zip
cpython-5fbad3c9f2aec878df213607c527a09e07ba7729.tar.gz
cpython-5fbad3c9f2aec878df213607c527a09e07ba7729.tar.bz2
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 3ffc115..d2247e8 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])