Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5fbad3c

Browse files
committed
docs: Clarify that gi_yieldfrom was first added in 3.5
1 parent c135f0a commit 5fbad3c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Doc/library/inspect.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,10 @@ attributes:
209209

210210
.. versionchanged:: 3.5
211211

212-
Add ``__qualname__`` attribute to generators. The ``__name__`` attribute of
213-
generators is now set from the function name, instead of the code name, and
214-
it can now be modified.
212+
Add ``__qualname__`` and ``gi_yieldfrom`` attributes to generators.
213+
214+
The ``__name__`` attribute of generators is now set from the function
215+
name, instead of the code name, and it can now be modified.
215216

216217

217218
.. function:: getmembers(object[, predicate])

0 commit comments

Comments
 (0)