.. _useless-parent-delegation: useless-parent-delegation / W0246 ================================= **Message emitted:** ``Useless parent or super() delegation in method %r`` **Description:** *Used whenever we can detect that an overridden method is useless, relying on parent or super() delegation to do the same thing as another method from the MRO.* **Problematic code:** .. literalinclude:: /data/messages/u/useless-parent-delegation/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/u/useless-parent-delegation/good.py :language: python **Related links:** - `Stackoverflow explanation for 'useless-super-delegation' `_ Created by the `classes `__ checker.