Skip to content

Commit

Permalink
Merge remote-tracking branch 'mypypy/feature/support_deprecated' into…
Browse files Browse the repository at this point in the history
… feature/support_deprecated
  • Loading branch information
tyralla committed Jul 4, 2024
2 parents b0ced07 + 1042c65 commit a07fc64
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 a07fc64

Please sign in to comment.