Files
openide/python/testData/inspections/PyMethodOverridingInspection/OverriddingAbstractStaticMethodWithExpandedArguments.py
Semyon Proshev 3ea2653408 PY-23513 Fixed: Overrides of abstract static methods with expanded arguments fail signature checking (PyMethodOverriding)
Don't consider methods with @staticmethod decorator as having special first parameter while checking signature compatibility.
2017-08-01 12:46:12 +03:00

14 lines
237 B
Python

from abc import ABC, abstractmethod
class Abstract(ABC):
@staticmethod
@abstractmethod
def bar(*args, **kwargs):
pass
class Child(Abstract):
@staticmethod
def bar(arg_one, arg_two, arg_three):
pass