diff options
-rw-r--r-- | Doc/library/inspect.rst | 4 |
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]) |