removals in Python 3.7 (#2018)

Last part of #1965.
This commit is contained in:
Jelle Zijlstra
2018-04-06 11:11:29 -07:00
committed by Guido van Rossum
parent 0acdfd1548
commit 54ecefef04
5 changed files with 18 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
# Ron Murawski <ron@horizonchess.com>
# based on http://docs.python.org/3.2/library/os.path.html
import sys
from typing import Any, List, Tuple, IO
# ----- os.path variables -----
@@ -43,4 +43,5 @@ def sameopenfile(fp1: IO[Any], fp2: IO[Any]) -> bool: ...
def split(path: str) -> Tuple[str, str]: ...
def splitdrive(path: str) -> Tuple[str, str]: ...
def splitext(path: str) -> Tuple[str, str]: ...
# def splitunc(path: str) -> Tuple[str, str] : ... # Windows only, deprecated
if sys.version_info < (3, 7) and sys.platform == 'win32':
def splitunc(path: str) -> Tuple[str, str]: ...