.. _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.*


**Correct code:**

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

**Additional details:**

You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !


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