summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-06-16 14:25:22 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-06-16 14:25:22 (GMT)
commit4a74a9a750182d963356f599a33342ce9f198b65 (patch)
tree329cdc82abe8d60010d5be5aa3d0c61f4c994efb /Doc/library
parent7db27c8ed67fdaa3052c29112d56a46b75f4c5dc (diff)
downloadcpython-4a74a9a750182d963356f599a33342ce9f198b65.zip
cpython-4a74a9a750182d963356f599a33342ce9f198b65.tar.gz
cpython-4a74a9a750182d963356f599a33342ce9f198b65.tar.bz2
Issue #21205: Complete the "versionchanged" note in inspect documentation
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/inspect.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 2830936..359f833 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])