.. _redundant-yields-doc: redundant-yields-doc / W9010 ============================ **Message emitted:** ``Redundant yields documentation`` **Description:** *Please remove the yields documentation from this method.* **Problematic code:** .. literalinclude:: /data/messages/r/redundant-yields-doc/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/r/redundant-yields-doc/good.py :language: python **Configuration file:** .. literalinclude:: /data/messages/r/redundant-yields-doc/pylintrc :language: ini .. 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.