Skip to content

Commit 9652c0c

Browse files
committed
Update typing_extensions to 4.15.0rc1
1 parent 4bdb14a commit 9652c0c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

stdlib/typing_extensions.pyi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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
219221
Final: _SpecialForm
220222

221223
def final(f: _F) -> _F: ...
224+
def disjoint_base(cls: _TC) -> _TC: ...
222225

223226
Literal: _SpecialForm
224227

@@ -616,7 +619,7 @@ TypeForm: _SpecialForm
616619
if 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
620623
else:
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
689693
class Sentinel:

0 commit comments

Comments
 (0)