mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 23:09:55 +08:00
Add default values for third-party stubs beginning with 'P' (#9957)
This commit is contained in:
@@ -16,8 +16,8 @@ class PyiModuleGraph: # incomplete
|
||||
def __init__(
|
||||
self,
|
||||
pyi_homepath: str,
|
||||
user_hook_dirs: Iterable[StrPath] = ...,
|
||||
excludes: Iterable[str] = ...,
|
||||
user_hook_dirs: Iterable[StrPath] = (),
|
||||
excludes: Iterable[str] = (),
|
||||
*,
|
||||
path: Iterable[str] | None = None,
|
||||
replace_paths: Iterable[tuple[StrPath, StrPath]] = ...,
|
||||
|
||||
@@ -45,7 +45,9 @@ def is_module_or_submodule(name: str, mod_or_submod: str) -> bool: ...
|
||||
|
||||
PY_DYLIB_PATTERNS: Final[list[str]]
|
||||
|
||||
def collect_dynamic_libs(package: str, destdir: object = None, search_patterns: Iterable[str] = ...) -> list[tuple[str, str]]: ...
|
||||
def collect_dynamic_libs(
|
||||
package: str, destdir: object = None, search_patterns: Iterable[str] = ["*.dll", "*.dylib", "lib*.so"]
|
||||
) -> list[tuple[str, str]]: ...
|
||||
def collect_data_files(
|
||||
package: str,
|
||||
include_py_files: bool = False,
|
||||
|
||||
Reference in New Issue
Block a user