]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
docs: Clarify that gi_yieldfrom was first added in 3.5
authorYury Selivanov <yselivanov@sprymix.com>
Mon, 17 Aug 2015 17:04:41 +0000 (13:04 -0400)
committerYury Selivanov <yselivanov@sprymix.com>
Mon, 17 Aug 2015 17:04:41 +0000 (13:04 -0400)
Doc/library/inspect.rst

index 3ffc1152bed85bb6c34e59e32306367d6fa2b0c0..d2247e844fa051b668ee9fc545259a4849c04650 100644 (file)
@@ -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])