Merge pull request #6899 from thepurpleowl/patch-1

Python SignatureOverriddenMethod: Rmv duplicate condition
This commit is contained in:
Rasmus Wriedt Larsen
2021-10-19 11:24:01 +02:00
committed by GitHub

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()