diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-08-16 20:17:07 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-08-16 20:17:07 (GMT) |
commit | 977a684c94c369a858f49ce1447308e373ca4ced (patch) | |
tree | ff6779e1c4a2dfcf13edf2c7a2858fc0b27473e7 /Lib | |
parent | 4a339ad628e34578a0daea676b56fff919da6bb3 (diff) | |
download | cpython-977a684c94c369a858f49ce1447308e373ca4ced.zip cpython-977a684c94c369a858f49ce1447308e373ca4ced.tar.gz cpython-977a684c94c369a858f49ce1447308e373ca4ced.tar.bz2 |
Issue #8983: Corrected docstrings.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/doctest.py | 2 | ||||
-rw-r--r-- | Lib/inspect.py | 2 |
2 files changed, 2 insertions, 2 deletions
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 @@ def testmod(m=None, name=None, globs=None, verbose=None, 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 @@ 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) |