.. _nonexistent-operator:

nonexistent-operator / E0107
============================

**Message emitted:**

Use of the non-existent %s operator

**Description:**

*Used when you attempt to use the C-style pre-increment or pre-decrement operator -- and ++, which doesn't exist in Python.*

**Problematic code:**

.. literalinclude:: /data/messages/n/nonexistent-operator/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/n/nonexistent-operator/good.py
   :language: python



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