.. _deprecated-class:

deprecated-class / W4904
========================

**Message emitted:**

Using deprecated class %s of module %s

**Description:**

*The class is marked as deprecated and will be removed in the future.*


**Correct code:**

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