From 5fbad3c9f2aec878df213607c527a09e07ba7729 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Mon, 17 Aug 2015 13:04:41 -0400 Subject: docs: Clarify that gi_yieldfrom was first added in 3.5 --- Doc/library/inspect.rst | 7 ++++--- 1 file 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]) -- cgit v0.12