Issue #8983: Corrected docstrings.
diff --git a/Lib/doctest.py b/Lib/doctest.py
index d1b96d4..0a0dafd 100644
--- a/Lib/doctest.py
+++ b/Lib/doctest.py
@@ -1786,7 +1786,7 @@
Return (#failures, #tests).
- See doctest.__doc__ for an overview.
+ See help(doctest) for an overview.
Optional keyword arg "name" gives the name of the module; by default
use m.__name__.
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 @@
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)