From: Yury Selivanov Date: Mon, 17 Aug 2015 17:04:41 +0000 (-0400) Subject: docs: Clarify that gi_yieldfrom was first added in 3.5 X-Git-Tag: v3.6.0a1~1770^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5fbad3c9f2aec878df213607c527a09e07ba7729;p=thirdparty%2FPython%2Fcpython.git docs: Clarify that gi_yieldfrom was first added in 3.5 --- diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 3ffc1152bed8..d2247e844fa0 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])