.. _bad-docstring-quotes: bad-docstring-quotes / C0198 ============================ **Message emitted:** ``Bad docstring quotes in %s, expected """, given %s`` **Description:** *Used when a docstring does not have triple double quotes.* **Problematic code:** .. literalinclude:: /data/messages/b/bad-docstring-quotes/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/b/bad-docstring-quotes/good.py :language: python **Configuration file:** .. literalinclude:: /data/messages/b/bad-docstring-quotes/pylintrc :language: ini **Additional details:** From `PEP 257`: "For consistency, always use ``"""triple double quotes"""`` around docstrings." **Related links:** - `PEP 257 – Docstring Conventions `_ .. note:: This message is emitted by the optional :ref:`'docstyle'` checker, which requires the ``pylint.extensions.docstyle`` plugin to be loaded. Created by the `docstyle `__ checker.