We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
set_lazy_imports_filter
importer
None
1 parent b2d38dc commit ebd5309Copy full SHA for ebd5309
1 file changed
stdlib/sys/__init__.pyi
@@ -10,7 +10,7 @@ from typing_extensions import LiteralString, deprecated
10
11
_T = TypeVar("_T")
12
_LazyImportMode: TypeAlias = Literal["normal", "all", "none"]
13
-_LazyImportFilter: TypeAlias = Callable[[str, str, tuple[str, ...] | None], bool]
+_LazyImportFilter: TypeAlias = Callable[[str | None, str, tuple[str, ...] | None], bool]
14
15
# see https://github.com/python/typeshed/issues/8513#issue-1333671093 for the rationale behind this alias
16
_ExitCode: TypeAlias = str | int | None
0 commit comments