.. _multiple-constructor-doc: multiple-constructor-doc / W9005 ================================ **Message emitted:** ``"%s" has constructor parameters documented in class and __init__`` **Description:** *Please remove parameter declarations in the class or constructor.* **Problematic code:** .. literalinclude:: /data/messages/m/multiple-constructor-doc/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/m/multiple-constructor-doc/good.py :language: python **Configuration file:** .. literalinclude:: /data/messages/m/multiple-constructor-doc/pylintrc :language: ini **Additional details:** Both docstrings are acceptable but not both at the same time. .. note:: This message is emitted by the optional :ref:`'parameter_documentation'` checker, which requires the ``pylint.extensions.docparams`` plugin to be loaded. Created by the `parameter_documentation `__ checker.