.. _positional-only-arguments-expected:
positional-only-arguments-expected / E3102
==========================================
**Message emitted:**
```%s()` got some positional-only arguments passed as keyword arguments: %s``
**Description:**
*Emitted when positional-only arguments have been passed as keyword arguments. Remove the keywords for the affected arguments in the function call.*
**Problematic code:**
.. literalinclude:: /data/messages/p/positional-only-arguments-expected/bad.py
:language: python
**Correct code:**
.. literalinclude:: /data/messages/p/positional-only-arguments-expected/good.py
:language: python
**Related links:**
- `PEP 570 `_
Created by the `method_args `__ checker.