diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-03-01 15:22:41 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-03-01 15:22:41 (GMT) |
commit | 4f959d2c73463bdce97a0f2047c9964f2ca0d32d (patch) | |
tree | f3355b05cace3dec07c2b6b3691daeb6604ca133 | |
parent | d9efdc5b5a532210b36d9ad410f201e64aebac36 (diff) | |
download | cpython-4f959d2c73463bdce97a0f2047c9964f2ca0d32d.zip cpython-4f959d2c73463bdce97a0f2047c9964f2ca0d32d.tar.gz cpython-4f959d2c73463bdce97a0f2047c9964f2ca0d32d.tar.bz2 |
Fix SF patch #695581, "returnself" -> "return self"
-rwxr-xr-x | Lib/pydoc.py | 2 |
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): |