Update typing_extensions to 4.15.0rc1 (#14589)

This commit is contained in:
Brian Schubert
2025-08-18 17:26:04 -04:00
committed by GitHub
parent 4bdb14ab57
commit d270bb0dc1
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -120,6 +120,7 @@ __all__ = [
"clear_overloads",
"dataclass_transform",
"deprecated",
"disjoint_base",
"Doc",
"evaluate_forward_ref",
"get_overloads",
@@ -150,6 +151,7 @@ __all__ = [
"TypeGuard",
"TypeIs",
"TYPE_CHECKING",
"type_repr",
"Never",
"NoReturn",
"ReadOnly",
@@ -219,6 +221,7 @@ runtime = runtime_checkable
Final: _SpecialForm
def final(f: _F) -> _F: ...
def disjoint_base(cls: _TC) -> _TC: ...
Literal: _SpecialForm
@@ -616,7 +619,7 @@ TypeForm: _SpecialForm
if sys.version_info >= (3, 14):
from typing import evaluate_forward_ref as evaluate_forward_ref
from annotationlib import Format as Format, get_annotations as get_annotations
from annotationlib import Format as Format, get_annotations as get_annotations, type_repr as type_repr
else:
class Format(enum.IntEnum):
VALUE = 1
@@ -684,6 +687,7 @@ else:
format: Format | None = None,
_recursive_guard: Container[str] = ...,
) -> AnnotationForm: ...
def type_repr(value: object) -> str: ...
# PEP 661
class Sentinel: