diff options
-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): |