.. _wrong-spelling-in-docstring:

wrong-spelling-in-docstring / C0402
===================================

**Message emitted:**

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

**Description:**

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

**Problematic code:**

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

**Correct code:**

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



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