summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-08-16 20:30:26 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-08-16 20:30:26 (GMT)
commitb8de9fab302263b6950b1d1e978b253e73682e06 (patch)
tree2ab6f94b12ad053ec021b8117b9a484319a0da01 /Lib
parentb35af8c91c96b4dd2df3deccb7cff950601b5fd8 (diff)
downloadcpython-b8de9fab302263b6950b1d1e978b253e73682e06.zip
cpython-b8de9fab302263b6950b1d1e978b253e73682e06.tar.gz
cpython-b8de9fab302263b6950b1d1e978b253e73682e06.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.py2
-rw-r--r--Lib/inspect.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py
index 8bca63d..d47a60f 100644
--- a/Lib/doctest.py
+++ b/Lib/doctest.py
@@ -1771,7 +1771,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 8f79bc3..33065f5 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.func_code.co_flags & CO_GENERATOR)