pylint #2485 W0222 "Signature differs from overriden method" false positive [resolved]
Maarten ter Huurne:
class Super(object): def method(self, param): raise NotImplementedError class Sub(Super): def method(self, param = 'abc'): pass
W0222: 6:Sub.method: Signature differs from overriden method
Since "Sub.method" can be called with 1 parameter just like its abstract declaration, I think the code above is correct, so the warning should not be issued.
|appeared in||<not specified>|
|closed by||<not specified>|