mirror of
https://github.com/python/cpython.git
synced 2025-12-09 18:48:05 +00:00
docs: Clarify that gi_yieldfrom was first added in 3.5
This commit is contained in:
parent
c135f0a850
commit
5fbad3c9f2
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