.. _unexpected-keyword-arg: unexpected-keyword-arg / E1123 ============================== **Message emitted:** ``Unexpected keyword argument %r in %s call`` **Description:** *Used when a function call passes a keyword argument that doesn't correspond to one of the function's parameter names.* **Problematic code:** .. literalinclude:: /data/messages/u/unexpected-keyword-arg/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/u/unexpected-keyword-arg/good.py :language: python Created by the `typecheck `__ checker.