mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
Don't consider methods with @staticmethod decorator as having special first parameter while checking signature compatibility.
14 lines
237 B
Python
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 |