Python SignatureOverriddenMethod: Rmv duplicate condition

This commit is contained in:
Surya Prakash Sahu
2021-10-17 18:04:20 +05:30
committed by GitHub
parent b2e4276bc8
commit 2871bdb206

View File

@@ -24,7 +24,6 @@ where
not derived.getScope().isSpecialMethod() and
derived.getName() != "__init__" and
derived.isNormalMethod() and
not derived.getScope().isSpecialMethod() and
// call to overrides distributed for efficiency
(
derived.overrides(base) and derived.minParameters() > base.maxParameters()