.. _parse-error:

parse-error / F0010
===================

**Message emitted:**

error while code parsing: %s

**Description:**

*Used when an exception occurred while building the Astroid representation which could be handled by astroid.*


**Correct code:**

.. literalinclude:: /data/messages/p/parse-error/good.py
   :language: python

**Additional details:**

This is a message linked to an internal problem in pylint. There's nothing to change in your code.


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