.. _redundant-returns-doc:

redundant-returns-doc / W9008
=============================

**Message emitted:**

Redundant returns documentation

**Description:**

*Please remove the return/rtype documentation from this method.*


**Correct code:**

.. literalinclude:: /data/messages/r/redundant-returns-doc/good.py
   :language: python

**Additional details:**

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



.. note::
  This message is emitted by the optional :ref:`'parameter_documentation'<pylint.extensions.docparams>` checker which requires the ``pylint.extensions.docparams``
  plugin to be loaded.

Created by the `parameter_documentation <https://github.com/PyCQA/pylint/blob/main/pylint/extensions/docparams.py>`__ checker.