summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-03-01 15:22:41 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-03-01 15:22:41 (GMT)
commit4f959d2c73463bdce97a0f2047c9964f2ca0d32d (patch)
treef3355b05cace3dec07c2b6b3691daeb6604ca133 /Lib/pydoc.py
parentd9efdc5b5a532210b36d9ad410f201e64aebac36 (diff)
downloadcpython-4f959d2c73463bdce97a0f2047c9964f2ca0d32d.zip
cpython-4f959d2c73463bdce97a0f2047c9964f2ca0d32d.tar.gz
cpython-4f959d2c73463bdce97a0f2047c9964f2ca0d32d.tar.bz2
Fix SF patch #695581, "returnself" -> "return self"
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-xLib/pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 90df45b..65a9019 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -268,7 +268,7 @@ class Doc:
args = (object, name) + args
if inspect.ismodule(object): return self.docmodule(*args)
if inspect.isclass(object): return self.docclass(*args)
- if inspect.isroutine(object): returnself.docroutine(*args)
+ if inspect.isroutine(object): return self.docroutine(*args)
return self.docother(*args)
def fail(self, object, name=None, *args):