.. _invalid-character-backspace:

invalid-character-backspace / E2510
===================================

**Message emitted:**

Invalid unescaped character backspace, use "\b" instead.

**Description:**

*Moves the cursor back, so the character after it will overwrite the character before.*


**Correct code:**

.. literalinclude:: /data/messages/i/invalid-character-backspace/good.py
   :language: python

**Additional details:**

You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !


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