Update typing_extensions to 4.13.0rc1 (#13671)

Also sort __all__ to match the implementation
This commit is contained in:
Sebastian Rittau
2025-03-19 13:56:18 +01:00
committed by GitHub
parent 45e9a79e26
commit 5a8f8aa052
9 changed files with 115 additions and 55 deletions
+4 -4
View File
@@ -345,12 +345,12 @@ class Signature:
if sys.version_info >= (3, 10):
def get_annotations(
obj: Callable[..., object] | type[Any] | ModuleType,
obj: Callable[..., object] | type[object] | ModuleType, # any callable, class, or module
*,
globals: Mapping[str, Any] | None = None,
locals: Mapping[str, Any] | None = None,
globals: Mapping[str, Any] | None = None, # value types depend on the key
locals: Mapping[str, Any] | None = None, # value types depend on the key
eval_str: bool = False,
) -> dict[str, Any]: ...
) -> dict[str, Any]: ... # values are type expressions
# The name is the same as the enum's name in CPython
class _ParameterKind(enum.IntEnum):