.. _deprecated-module:

deprecated-module / W4901
=========================

**Message emitted:**

Deprecated module %r

**Description:**

*A module marked as deprecated is imported.*


**Correct code:**

.. literalinclude:: /data/messages/d/deprecated-module/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 `imports <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/imports.py>`__ checker.