.. _redundant-keyword-arg:

redundant-keyword-arg / E1124
=============================

**Message emitted:**

Argument %r passed by position and keyword in %s call

**Description:**

*Used when a function call would result in assigning multiple values to a function parameter, one value from a positional argument and one from a keyword argument.*

**Problematic code:**

.. literalinclude:: /data/messages/r/redundant-keyword-arg/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/r/redundant-keyword-arg/good.py
   :language: python



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