.. _abstract-method:

abstract-method / W0223
=======================

**Message emitted:**

Method %r is abstract in class %r but is not overridden in child class %r

**Description:**

*Used when an abstract method (i.e. raise NotImplementedError) is not overridden in concrete class.*

**Problematic code:**

.. literalinclude:: /data/messages/a/abstract-method/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/a/abstract-method/good.py
   :language: python



Created by the `classes <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/classes/class_checker.py>`__ checker.