[Python-checkins] cpython (3.5): docs: Clarify that gi_yieldfrom was first added in 3.5

yury.selivanov python-checkins at python.org
Mon Aug 17 19:04:53 CEST 2015


https://hg.python.org/cpython/rev/948d8ea8e7a6
changeset: 97420:948d8ea8e7a6
branch: 3.5
parent: 97418:caa2d561e9dc
user: Yury Selivanov <yselivanov at sprymix.com>
date: Mon Aug 17 13:04:41 2015 -0400
summary:
 docs: Clarify that gi_yieldfrom was first added in 3.5
files:
 Doc/library/inspect.rst | 7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -209,9 +209,10 @@
 
 .. 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])
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /