mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-09-30 23:22:26 +08:00
Fix sys.path_hooks type (#7049)
Docs: https://docs.python.org/3/library/sys.html#sys.path_hooks
This commit is contained in:
1 parent
56aa2088aa
commit
97c490aec0
1 file changed
+1
-1
+1
-1
@@ -46,7 +46,7 @@ modules: dict[str, ModuleType]
|
||||
if sys.version_info >= (3, 10):
|
||||
orig_argv: list[str]
|
||||
path: list[str]
|
||||
path_hooks: list[Any] # TODO precise type; function, path to finder
|
||||
path_hooks: list[Callable[[str], PathEntryFinder]]
|
||||
path_importer_cache: dict[str, PathEntryFinder | None]
|
||||
platform: str
|
||||
if sys.version_info >= (3, 9):
|
||||
|
||||
Reference in new issue
Block a user