mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #8983: Corrected docstrings.
This commit is contained in:
parent
4a339ad628
commit
977a684c94
5 changed files with 8 additions and 8 deletions
|
@ -159,7 +159,7 @@ def isgeneratorfunction(object):
|
|||
|
||||
Generator function objects provides same attributes as functions.
|
||||
|
||||
See isfunction.__doc__ for attributes listing."""
|
||||
See help(isfunction) for attributes listing."""
|
||||
return bool((isfunction(object) or ismethod(object)) and
|
||||
object.__code__.co_flags & CO_GENERATOR)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue