Issue #8983: Corrected docstrings.

This commit is contained in:
Alexander Belopolsky 2010-08-16 20:17:07 +00:00
parent 4a339ad628
commit 977a684c94
5 changed files with 8 additions and 8 deletions

View file

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