From: Neal Norwitz Date: Sat, 1 Mar 2003 15:22:41 +0000 (+0000) Subject: Fix SF patch #695581, "returnself" -> "return self" X-Git-Tag: v2.3c1~1631 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f959d2c73463bdce97a0f2047c9964f2ca0d32d;p=thirdparty%2FPython%2Fcpython.git Fix SF patch #695581, "returnself" -> "return self" --- diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 90df45bd8225..65a90193b66f 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):