.. _wrong-spelling-in-comment:

wrong-spelling-in-comment / C0401
=================================

**Message emitted:**

Wrong spelling of a word '%s' in a comment:
%s
%s
Did you mean: '%s'?

**Description:**

*Used when a word in comment is not spelled correctly.*

**Problematic code:**

.. literalinclude:: /data/messages/w/wrong-spelling-in-comment/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/w/wrong-spelling-in-comment/good.py
   :language: python



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