.. _deprecated-argument: deprecated-argument / W4903 =========================== **Message emitted:** ``Using deprecated argument %s of method %s()`` **Description:** *The argument is marked as deprecated and will be removed in the future.* **Problematic code:** .. literalinclude:: /data/messages/d/deprecated-argument/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/d/deprecated-argument/good.py :language: python **Configuration file:** .. literalinclude:: /data/messages/d/deprecated-argument/pylintrc :language: ini **Additional details:** The actual replacement needs to be studied on a case by case basis by reading the deprecation warning or the release notes. Created by the `stdlib `__ checker.