Fix SF patch #695581, "returnself" -> "return self"

This commit is contained in:
Neal Norwitz 2003-03-01 15:22:41 +00:00
parent d9efdc5b5a
commit 4f959d2c73

View File

@ -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):