mirror of
https://github.com/python/cpython.git
synced 2024-11-29 04:44:13 +08:00
Fix SF patch #695581, "returnself" -> "return self"
This commit is contained in:
parent
d9efdc5b5a
commit
4f959d2c73
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user