projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9efdc5
)
Fix SF patch #695581, "returnself" -> "return self"
author
Neal Norwitz
<nnorwitz@gmail.com>
Sat, 1 Mar 2003 15:22:41 +0000
(15:22 +0000)
committer
Neal Norwitz
<nnorwitz@gmail.com>
Sat, 1 Mar 2003 15:22:41 +0000
(15:22 +0000)
Lib/pydoc.py
patch
|
blob
|
history
diff --git
a/Lib/pydoc.py
b/Lib/pydoc.py
index 90df45bd8225f42608f8233acd0134b5016856b3..65a90193b66fa16a26fe463b8231d746ce449d95 100755
(executable)
--- 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):