mirror of
https://github.com/python/cpython.git
synced 2025-08-16 23:01:34 +00:00
Merged revisions 84106 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84106 | alexander.belopolsky | 2010-08-16 16:17:07 -0400 (Mon, 16 Aug 2010) | 1 line Issue #8983: Corrected docstrings. ........
This commit is contained in:
parent
b35af8c91c
commit
b8de9fab30
5 changed files with 8 additions and 8 deletions
|
@ -157,7 +157,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.func_code.co_flags & CO_GENERATOR)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue