Skip to content

Commit

Permalink
fix a typo in error_code_list2.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Levkivskyi <[email protected]>
  • Loading branch information
tyralla and ilevkivskyi authored Jul 4, 2024
1 parent 7bfb534 commit 1042c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/error_code_list2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://peps.python.org/pep-0702>`_. You can silence single notes via
``# type: ignore[deprecated]`` or turn off this check completely via ``--disable-error-code=deprecated``.
Expand Down

0 comments on commit 1042c65

Please sign in to comment.