.. _disallowed-name:

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

**Message emitted:**

Disallowed name "%s"

**Description:**

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


**Correct code:**

.. literalinclude:: /data/messages/d/disallowed-name/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 `basic <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/base/name_checker/checker.py>`__ checker.