diff --git a/stdlib/2/os/path.pyi b/stdlib/2/os/path.pyi index 76a4c4b8d..fb789c2fb 100644 --- a/stdlib/2/os/path.pyi +++ b/stdlib/2/os/path.pyi @@ -167,7 +167,7 @@ else: def splitdrive(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... def splitext(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... -if sys.platform == 'win32': +if sys.version_info < (3, 7) and sys.platform == 'win32': def splitunc(path: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated if sys.version_info < (3,): diff --git a/stdlib/2/os2emxpath.pyi b/stdlib/2/os2emxpath.pyi index 76a4c4b8d..fb789c2fb 100644 --- a/stdlib/2/os2emxpath.pyi +++ b/stdlib/2/os2emxpath.pyi @@ -167,7 +167,7 @@ else: def splitdrive(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... def splitext(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... -if sys.platform == 'win32': +if sys.version_info < (3, 7) and sys.platform == 'win32': def splitunc(path: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated if sys.version_info < (3,): diff --git a/stdlib/2and3/ntpath.pyi b/stdlib/2and3/ntpath.pyi index 76a4c4b8d..fb789c2fb 100644 --- a/stdlib/2and3/ntpath.pyi +++ b/stdlib/2and3/ntpath.pyi @@ -167,7 +167,7 @@ else: def splitdrive(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... def splitext(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... -if sys.platform == 'win32': +if sys.version_info < (3, 7) and sys.platform == 'win32': def splitunc(path: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated if sys.version_info < (3,): diff --git a/stdlib/2and3/posixpath.pyi b/stdlib/2and3/posixpath.pyi index 76a4c4b8d..fb789c2fb 100644 --- a/stdlib/2and3/posixpath.pyi +++ b/stdlib/2and3/posixpath.pyi @@ -167,7 +167,7 @@ else: def splitdrive(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... def splitext(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... -if sys.platform == 'win32': +if sys.version_info < (3, 7) and sys.platform == 'win32': def splitunc(path: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated if sys.version_info < (3,): diff --git a/stdlib/3/os/path.pyi b/stdlib/3/os/path.pyi index 76a4c4b8d..fb789c2fb 100644 --- a/stdlib/3/os/path.pyi +++ b/stdlib/3/os/path.pyi @@ -167,7 +167,7 @@ else: def splitdrive(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... def splitext(p: AnyStr) -> Tuple[AnyStr, AnyStr]: ... -if sys.platform == 'win32': +if sys.version_info < (3, 7) and sys.platform == 'win32': def splitunc(path: AnyStr) -> Tuple[AnyStr, AnyStr]: ... # deprecated if sys.version_info < (3,):