.. _wildcard-import:

wildcard-import / W0401
=======================

**Message emitted:**

Wildcard import %s

**Description:**

*Used when `from module import *` is detected.*

**Problematic code:**

.. literalinclude:: /data/messages/w/wildcard-import/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/w/wildcard-import/good.py
   :language: python



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