mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
fix(pathlib2): missing exist_ok argument (#5218)
See 91eafa818c/pathlib2/__init__.py (L1527)
This commit is contained in:
@@ -65,7 +65,7 @@ class Path(PurePath):
|
||||
def iterdir(self) -> Generator[Path, None, None]: ...
|
||||
def lchmod(self, mode: int) -> None: ...
|
||||
def lstat(self) -> os.stat_result: ...
|
||||
def mkdir(self, mode: int = ..., parents: bool = ...) -> None: ...
|
||||
def mkdir(self, mode: int = ..., parents: bool = ..., exist_ok: bool = ...) -> None: ...
|
||||
# Adapted from _io.open
|
||||
def open(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user