File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4298,11 +4298,16 @@ 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+
4306+ # Breakpoint: https://github.com/python/cpython/pull/133602
4307+ if sys .version_info < (3 , 15 , 0 ):
4308+ _typing_names .append ("no_type_check_decorator" )
4309+ __all__ .append ("no_type_check_decorator" )
4310+
43064311globals ().update (
43074312 {name : getattr (typing , name ) for name in _typing_names if hasattr (typing , name )}
43084313)
@@ -4311,7 +4316,3 @@ def type_repr(value):
43114316Generic = typing .Generic
43124317ForwardRef = typing .ForwardRef
43134318Annotated = 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