[Python-checkins] cpython: Issue #21205: Complete the "versionchanged" note in inspect documentation
victor.stinner
python-checkins at python.org
Mon Jun 16 16:25:36 CEST 2014
http://hg.python.org/cpython/rev/28b3b8b22654
changeset: 91213:28b3b8b22654
user: Victor Stinner <victor.stinner at gmail.com>
date: Mon Jun 16 16:25:22 2014 +0200
summary:
Issue #21205: Complete the "versionchanged" note in inspect documentation
files:
Doc/library/inspect.rst | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -181,7 +181,9 @@
.. 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])
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list