.. _syntax-error:

syntax-error / E0001
====================

**Message emitted:**

%s

**Description:**

*Used when a syntax error is raised for a module.*

**Problematic code:**

.. literalinclude:: /data/messages/s/syntax-error/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/s/syntax-error/good.py
   :language: python



Created by the `main <https://github.com/PyCQA/pylint/blob/main/pylint/lint/pylinter.py>`__ checker.