.. _deprecated-typing-alias:

deprecated-typing-alias / W6001
===============================

**Message emitted:**

'%s' is deprecated, use '%s' instead

**Description:**

*Emitted when a deprecated typing alias is used.*


**Correct code:**

.. literalinclude:: /data/messages/d/deprecated-typing-alias/good.py
   :language: python

**Additional details:**

You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !



.. note::
  This message is emitted by the optional :ref:`'typing'<pylint.extensions.typing>`
   checker which requires the ``pylint.extensions.typing`` plugin to be loaded.

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