mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-09 18:09:17 +08:00
Fix some incorrect parameter defaults in the stdlib (#14620)
This commit is contained in:
@@ -29,10 +29,10 @@ def copy_file(
|
||||
) -> tuple[_BytesPathT | bytes, bool]: ...
|
||||
@overload
|
||||
def move_file(
|
||||
src: StrPath, dst: _StrPathT, verbose: bool | Literal[0, 1] = 0, dry_run: bool | Literal[0, 1] = 0
|
||||
src: StrPath, dst: _StrPathT, verbose: bool | Literal[0, 1] = 1, dry_run: bool | Literal[0, 1] = 0
|
||||
) -> _StrPathT | str: ...
|
||||
@overload
|
||||
def move_file(
|
||||
src: BytesPath, dst: _BytesPathT, verbose: bool | Literal[0, 1] = 0, dry_run: bool | Literal[0, 1] = 0
|
||||
src: BytesPath, dst: _BytesPathT, verbose: bool | Literal[0, 1] = 1, dry_run: bool | Literal[0, 1] = 0
|
||||
) -> _BytesPathT | bytes: ...
|
||||
def write_file(filename: StrOrBytesPath, contents: Iterable[str]) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user