Add stubs for importlib.(resources.)readers (#10928)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
This commit is contained in:
Alex Waygood
2023-10-26 14:18:55 +01:00
committed by GitHub
parent 17a8c920d9
commit 908993a807
8 changed files with 86 additions and 11 deletions

View File

@@ -24,9 +24,6 @@ types.GenericAlias.__call__ # Would be complicated to fix properly, Any could s
typing._SpecialForm.__mro_entries__
weakref.ProxyType.__reversed__ # Doesn't really exist
# Modules that exist at runtime, but are missing from typeshed
importlib.readers
# Modules that exist at runtime, but shouldn't be added to typeshed
ctypes.test
ctypes\.test\..+

View File

@@ -18,8 +18,6 @@ typing.NewType.__call__
typing.NewType.__mro_entries__
# Modules that exist at runtime, but are missing from typeshed
importlib.readers
importlib.resources.readers
importlib.resources.simple
importlib.simple

View File

@@ -1,7 +1,5 @@
# Modules that exist at runtime, but are missing from typeshed
zipfile._path.glob
importlib.readers
importlib.resources.readers
importlib.resources.simple
importlib.simple