summaryrefslogtreecommitdiffstats
path: root/Lib/inspect.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r--Lib/inspect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index 3bc220b..61c2502 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -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)