Files
openide/python/testData/override/overriddenMethodRaisesNotImplementedError_after.py

10 lines
168 B
Python

class A:
def m(self):
"""Abstract method."""
raise NotImplementedError('Should not be called directly')
class B(A):
def m(self):
pass