.. _bad-dunder-name: bad-dunder-name / W3201 ======================= **Message emitted:** ``Bad or misspelled dunder method name %s.`` **Description:** *Used when a dunder method is misspelled or defined with a name not within the predefined list of dunder names.* **Problematic code:** .. literalinclude:: /data/messages/b/bad-dunder-name/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/b/bad-dunder-name/good.py :language: python **Configuration file:** .. literalinclude:: /data/messages/b/bad-dunder-name/pylintrc :language: ini .. note:: This message is emitted by the optional :ref:`'dunder'` checker, which requires the ``pylint.extensions.dunder`` plugin to be loaded. Created by the `dunder `__ checker.