From 4a74a9a750182d963356f599a33342ce9f198b65 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 16 Jun 2014 16:25:22 +0200 Subject: [PATCH] Issue #21205: Complete the "versionchanged" note in inspect documentation --- Doc/library/inspect.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 2830936b9a..359f83374a 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -181,7 +181,9 @@ attributes: .. versionchanged:: 3.5 - Add ``__qualname__`` attribute to generators. + 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. .. function:: getmembers(object[, predicate]) -- 2.50.1