mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
pkgutils.walk_packages takes optional list of str for path (#1725)
This commit is contained in:
@@ -26,6 +26,6 @@ def get_loader(module_or_name: str) -> Loader: ...
|
||||
def iter_importers(fullname: str = ...) -> Generator[Any, None, None]: ... # TODO precise type
|
||||
def iter_modules(path: Optional[List[str]] = ...,
|
||||
prefix: str = ...) -> _YMFNI: ... # TODO precise type
|
||||
def walk_packages(path: Optional[str] = ..., prefix: str = ...,
|
||||
def walk_packages(path: Optional[List[str]] = ..., prefix: str = ...,
|
||||
onerror: Optional[Callable[[str], None]] = ...) -> _YMFNI: ...
|
||||
def get_data(package: str, resource: str) -> Optional[bytes]: ...
|
||||
|
||||
Reference in New Issue
Block a user