File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4298,11 +4298,14 @@ def type_repr(value):
42984298 "ValuesView" ,
42994299 "cast" ,
43004300 "no_type_check" ,
4301- "no_type_check_decorator" ,
43024301 # This is private, but it was defined by typing_extensions for a long time
43034302 # and some users rely on it.
43044303 "_AnnotatedAlias" ,
43054304]
4305+ # Breakpoint: https://github.com/python/cpython/pull/133602
4306+ if sys .version_info < (3 , 15 , 0 ):
4307+ _typing_names .append ("no_type_check_decorator" )
4308+ __all__ .append ("no_type_check_decorator" )
43064309globals ().update (
43074310 {name : getattr (typing , name ) for name in _typing_names if hasattr (typing , name )}
43084311)
@@ -4311,7 +4314,3 @@ def type_repr(value):
43114314Generic = typing .Generic
43124315ForwardRef = typing .ForwardRef
43134316Annotated = 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" )
You can’t perform that action at this time.
0 commit comments