mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 08:17:07 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
@@ -140,9 +140,9 @@ class Path(PurePath):
|
||||
def stat(self): ...
|
||||
def owner(self): ...
|
||||
def group(self): ...
|
||||
def open(self, mode='', buffering=-1, encoding=None, errors=None, newline=None): ...
|
||||
def touch(self, mode=438, exist_ok=True): ...
|
||||
def mkdir(self, mode=511, parents=False): ...
|
||||
def open(self, mode=..., buffering=..., encoding=..., errors=..., newline=...): ...
|
||||
def touch(self, mode=..., exist_ok=...): ...
|
||||
def mkdir(self, mode=..., parents=...): ...
|
||||
def chmod(self, mode): ...
|
||||
def lchmod(self, mode): ...
|
||||
def unlink(self): ...
|
||||
@@ -150,7 +150,7 @@ class Path(PurePath):
|
||||
def lstat(self): ...
|
||||
def rename(self, target): ...
|
||||
def replace(self, target): ...
|
||||
def symlink_to(self, target, target_is_directory=False): ...
|
||||
def symlink_to(self, target, target_is_directory=...): ...
|
||||
def exists(self): ...
|
||||
def is_dir(self): ...
|
||||
def is_file(self): ...
|
||||
|
||||
Reference in New Issue
Block a user