Skip to content

Commit 2638b86

Browse files
authored
Remove no_type_check_decorator from __all__ for Python >= 3.15 (#699)
1 parent f684c9a commit 2638b86

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/typing_extensions.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@
148148
'ValuesView',
149149
'cast',
150150
'no_type_check',
151-
'no_type_check_decorator',
152151
]
153152

154153
# for backward compatibility
@@ -4312,3 +4311,7 @@ def type_repr(value):
43124311
Generic = typing.Generic
43134312
ForwardRef = typing.ForwardRef
43144313
Annotated = typing.Annotated
4314+
4315+
# Breakpoint: https://github.com/python/cpython/pull/133602
4316+
if sys.version_info < (3, 15, 0):
4317+
__all__.append("no_type_check_decorator")

0 commit comments

Comments
 (0)