.. _super-with-arguments:

super-with-arguments / R1725
============================

**Message emitted:**

Consider using Python 3 style super() without arguments

**Description:**

*Emitted when calling the super() builtin with the current class and instance. On Python 3 these arguments are the default and they can be omitted.*

**Problematic code:**

.. literalinclude:: /data/messages/s/super-with-arguments/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/s/super-with-arguments/good.py
   :language: python



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