mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-28 18:56:44 +08:00
Update typing_extensions to 4.13.0rc1 (#13671)
Also sort __all__ to match the implementation
This commit is contained in:
+4
-4
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user