Module: check_mk
Branch: master
Commit: 3aab45aabe8c421f9666e1c2686c91ac6508fd58
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3aab45aabe8c42…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Mar 26 16:07:34 2018 +0200
Fixed typing info for pathlib2.mkdir.
Change-Id: Id95506775fb9fbc63ef374373a62571d06b1042b
---
tests/typeshed/pathlib2.pyi | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/typeshed/pathlib2.pyi b/tests/typeshed/pathlib2.pyi
index e9cf3fe..0f99381 100644
--- a/tests/typeshed/pathlib2.pyi
+++ b/tests/typeshed/pathlib2.pyi
@@ -72,7 +72,10 @@ class Path(PurePath):
def iterdir(self) -> Generator[Path, None, None]: ...
def lchmod(self, mode: int) -> None: ...
def lstat(self) -> os.stat_result: ...
- if sys.version_info < (3, 5):
+ if sys.version_info < (3, 0):
+ def mkdir(self, mode: int = ..., parents: bool = ...,
+ exist_ok: bool = ...) -> None: ...
+ elif sys.version_info < (3, 5):
def mkdir(self, mode: int = ...,
parents: bool = ...) -> None: ...
else: