]> granicus.if.org Git - python/commitdiff
Fix SF patch #695581, "returnself" -> "return self"
authorNeal Norwitz <nnorwitz@gmail.com>
Sat, 1 Mar 2003 15:22:41 +0000 (15:22 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sat, 1 Mar 2003 15:22:41 +0000 (15:22 +0000)
Lib/pydoc.py

index 90df45bd8225f42608f8233acd0134b5016856b3..65a90193b66fa16a26fe463b8231d746ce449d95 100755 (executable)
@@ -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):