PEP 3135: Resolve dangling hyphens (#3363)
This commit is contained in:
parent
16c5f92aba
commit
59ad1216c0
|
@ -165,10 +165,10 @@ super(self, \*args) or __super__(self, \*args)
|
|||
This solution only solves the problem of the type indication, does not handle
|
||||
differently named super methods, and is explicit about the name of the
|
||||
instance. It is less flexible without being able to enacted on other method
|
||||
names, in cases where that is needed. One use case this fails is where a base-
|
||||
class has a factory classmethod and a subclass has two factory classmethods,
|
||||
both of which needing to properly make super calls to the one in the base-
|
||||
class.
|
||||
names, in cases where that is needed. One use case this fails is where a
|
||||
base-class has a factory classmethod and a subclass has two factory
|
||||
classmethods,both of which needing to properly make super calls to the one
|
||||
in the base-class.
|
||||
|
||||
super.foo(self, \*args)
|
||||
-----------------------
|
||||
|
|
Loading…
Reference in New Issue