.. _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:** ``only_arg.py``: .. literalinclude:: /data/messages/r/redundant-keyword-arg/good/only_arg.py :language: python ``only_kwarg.py``: .. literalinclude:: /data/messages/r/redundant-keyword-arg/good/only_kwarg.py :language: python Created by the `typecheck `__ checker.