mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix SF patch #695581, "returnself" -> "return self"
This commit is contained in:
parent
d9efdc5b5a
commit
4f959d2c73
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ class Doc:
|
||||||
args = (object, name) + args
|
args = (object, name) + args
|
||||||
if inspect.ismodule(object): return self.docmodule(*args)
|
if inspect.ismodule(object): return self.docmodule(*args)
|
||||||
if inspect.isclass(object): return self.docclass(*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)
|
return self.docother(*args)
|
||||||
|
|
||||||
def fail(self, object, name=None, *args):
|
def fail(self, object, name=None, *args):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue