diff --git a/src/typing_extensions.py b/src/typing_extensions.py index ca1705e4..9dd8eac4 100644 --- a/src/typing_extensions.py +++ b/src/typing_extensions.py @@ -148,7 +148,6 @@ 'ValuesView', 'cast', 'no_type_check', - 'no_type_check_decorator', ] # for backward compatibility @@ -4312,3 +4311,7 @@ def type_repr(value): Generic = typing.Generic ForwardRef = typing.ForwardRef Annotated = typing.Annotated + +# Breakpoint: https://github.com/python/cpython/pull/133602 +if sys.version_info < (3, 15, 0): + __all__.append("no_type_check_decorator")