From 4f959d2c73463bdce97a0f2047c9964f2ca0d32d Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sat, 1 Mar 2003 15:22:41 +0000 Subject: [PATCH] Fix SF patch #695581, "returnself" -> "return self" --- Lib/pydoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 90df45bd822..65a90193b66 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):