Add default values for third-party stubs beginning with 'P' (#9957)

This commit is contained in:
Alex Waygood
2023-03-27 18:58:53 +01:00
committed by GitHub
parent 20f9b3685d
commit 6fd7e36e80
248 changed files with 2181 additions and 2133 deletions
@@ -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,