mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Merge 3.5
This commit is contained in:
commit
d11223e0d6
1 changed files with 4 additions and 3 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue