Use Mapping for local Python namespace parameters (#12705)

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

No files matched your search

+1 -1
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, ...]: ...