.. _duplicate-argument-name:

duplicate-argument-name / E0108
===============================

**Message emitted:**

``Duplicate argument name %s in function definition``

**Description:**

*Duplicate argument names in function definitions are syntax errors.*

**Problematic code:**

.. literalinclude:: /data/messages/d/duplicate-argument-name/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/d/duplicate-argument-name/good.py
   :language: python





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