Files
openide/python/testData/inspections/PyAbstractClassInspection/hiddenForAbstractSubclassWithAbstractMethod.py
Petrandintellij-monorepo-bot f560f56c33 PY-12132 Support ABC classes (pep-3119)
Convert test files used with the default language level to Python 3 (PyAbstractInspectionTest)

GitOrigin-RevId: debae3365955d6237c423197ec25a638dbd95dfb
2025-04-09 14:53:20 +00:00

13 lines
171 B
Python

import abc
class A1(metaclass=abc.ABCMeta):
@abc.abstractmethod
def m1(self):
pass
class A2(A1):
@abc.abstractmethod
def m2(self):
pass