.. _disallowed-name:

disallowed-name / C0104
=======================

**Message emitted:**

Disallowed name "%s"

**Description:**

*Used when the name matches bad-names or bad-names-rgxs- (unauthorized names).*

**Problematic code:**

.. literalinclude:: /data/messages/d/disallowed-name/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/d/disallowed-name/good.py
   :language: python



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