mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
@@ -15,16 +15,16 @@ def copystat(src: unicode, dst: unicode) -> None: ...
|
||||
def copy(src: unicode, dst: unicode) -> None: ...
|
||||
def copy2(src: unicode, dst: unicode) -> None: ...
|
||||
def ignore_patterns(*patterns: AnyStr) -> Callable[[AnyStr, List[AnyStr]], Iterable[AnyStr]]: ...
|
||||
def copytree(src: AnyStr, dst: AnyStr, symlinks: bool = False,
|
||||
ignore: Callable[[AnyStr, List[AnyStr]], Iterable[AnyStr]] = None) -> None: ...
|
||||
def rmtree(path: AnyStr, ignore_errors: bool = False,
|
||||
onerror: Callable[[Any, AnyStr, Any], None] = None) -> None: ...
|
||||
def copytree(src: AnyStr, dst: AnyStr, symlinks: bool = ...,
|
||||
ignore: Callable[[AnyStr, List[AnyStr]], Iterable[AnyStr]] = ...) -> None: ...
|
||||
def rmtree(path: AnyStr, ignore_errors: bool = ...,
|
||||
onerror: Callable[[Any, AnyStr, Any], None] = ...) -> None: ...
|
||||
def move(src: unicode, dst: unicode) -> None: ...
|
||||
def get_archive_formats() -> List[Tuple[str, str]]: ...
|
||||
def register_archive_format(name: str, function: Callable[..., Any],
|
||||
extra_args: Sequence[Tuple[str, Any]] = None,
|
||||
description: str = '') -> None: ...
|
||||
extra_args: Sequence[Tuple[str, Any]] = ...,
|
||||
description: str = ...) -> None: ...
|
||||
def unregister_archive_format(name: str) -> None: ...
|
||||
def make_archive(base_name: AnyStr, format: str, root_dir: unicode = None,
|
||||
base_dir: unicode = None, verbose: int = 0, dry_run: int = 0,
|
||||
owner: str = None, group: str = None, logger: Any = None) -> AnyStr: ...
|
||||
def make_archive(base_name: AnyStr, format: str, root_dir: unicode = ...,
|
||||
base_dir: unicode = ..., verbose: int = ..., dry_run: int = ...,
|
||||
owner: str = ..., group: str = ..., logger: Any = ...) -> AnyStr: ...
|
||||
|
||||
Reference in New Issue
Block a user