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:
Alexander Belopolsky 2010-08-16 20:30:26 +00:00
parent b35af8c91c
commit b8de9fab30
5 changed files with 8 additions and 8 deletions

View file

@ -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)