Use Mapping for local Python namespace parameters (#12705)

This commit is contained in:
Victorien
2024-09-30 11:26:41 +02:00
committed by GitHub
parent 6990bb64a9
commit db265afec5
5 changed files with 16 additions and 16 deletions

View File

@@ -261,7 +261,7 @@ OrderedDict = _Alias()
def get_type_hints(
obj: Callable[..., Any],
globalns: dict[str, Any] | None = None,
localns: dict[str, Any] | None = None,
localns: Mapping[str, Any] | None = None,
include_extras: bool = False,
) -> dict[str, Any]: ...
def get_args(tp: Any) -> tuple[Any, ...]: ...