diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-08-16 20:26:04 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-08-16 20:26:04 (GMT) |
commit | 102594f7ff7794e9e4d9619447e252f188241ff0 (patch) | |
tree | e5b75e9a05036ce7950054a9b2dc51edbfb6a4bf /Lib | |
parent | 7a9bdbc1c2214bec2133139dd8830f17e0383eed (diff) | |
download | cpython-102594f7ff7794e9e4d9619447e252f188241ff0.zip cpython-102594f7ff7794e9e4d9619447e252f188241ff0.tar.gz cpython-102594f7ff7794e9e4d9619447e252f188241ff0.tar.bz2 |
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.
........
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 c8d5cf4..21b6cc3 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 55d5316..5c7cfb4 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -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.__code__.co_flags & CO_GENERATOR) |