File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ __all__ = [
120120 "clear_overloads" ,
121121 "dataclass_transform" ,
122122 "deprecated" ,
123+ "disjoint_base" ,
123124 "Doc" ,
124125 "evaluate_forward_ref" ,
125126 "get_overloads" ,
@@ -150,6 +151,7 @@ __all__ = [
150151 "TypeGuard" ,
151152 "TypeIs" ,
152153 "TYPE_CHECKING" ,
154+ "type_repr" ,
153155 "Never" ,
154156 "NoReturn" ,
155157 "ReadOnly" ,
@@ -219,6 +221,7 @@ runtime = runtime_checkable
219221Final : _SpecialForm
220222
221223def final (f : _F ) -> _F : ...
224+ def disjoint_base (cls : _TC ) -> _TC : ...
222225
223226Literal : _SpecialForm
224227
@@ -616,7 +619,7 @@ TypeForm: _SpecialForm
616619if sys .version_info >= (3 , 14 ):
617620 from typing import evaluate_forward_ref as evaluate_forward_ref
618621
619- from annotationlib import Format as Format , get_annotations as get_annotations
622+ from annotationlib import Format as Format , get_annotations as get_annotations , type_repr as type_repr
620623else :
621624 class Format (enum .IntEnum ):
622625 VALUE = 1
@@ -684,6 +687,7 @@ else:
684687 format : Format | None = None ,
685688 _recursive_guard : Container [str ] = ...,
686689 ) -> AnnotationForm : ...
690+ def type_repr (value : object ) -> str : ...
687691
688692# PEP 661
689693class Sentinel :
You can’t perform that action at this time.
0 commit comments