From 1042c6531d8e7701bf65e41bceb7c0cd8adc4c22 Mon Sep 17 00:00:00 2001 From: Christoph Tyralla Date: Thu, 4 Jul 2024 19:18:10 +0200 Subject: [PATCH] fix a typo in error_code_list2.rst Co-authored-by: Ivan Levkivskyi --- docs/source/error_code_list2.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/error_code_list2.rst b/docs/source/error_code_list2.rst index 28ab8fdfabac..aa45fe2ecbdf 100644 --- a/docs/source/error_code_list2.rst +++ b/docs/source/error_code_list2.rst @@ -237,7 +237,7 @@ Check that imported or used feature is deprecated [deprecated] -------------------------------------------------------------- By default, mypy generates a note if your code imports a deprecated feature explicitly with a -``from mod import depr" statement or uses a deprecated feature imported otherwise or defined +``from mod import depr`` statement or uses a deprecated feature imported otherwise or defined locally. Features are considered deprecated when decorated with ``warnings.deprecated``, as specified in `PEP 702 `_. You can silence single notes via ``# type: ignore[deprecated]`` or turn off this check completely via ``--disable-error-code=deprecated``.