class Foo:
def bar(self):
raise NotImplementedError
class Baz(Foo):
pass
class Foo:
def bar(self):
raise NotImplementedError
class Baz(Foo):
def bar(self):
pass
Used when an abstract method (i.e. raise NotImplementedError) is not overridden in concrete class.