mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
committed by
Guido van Rossum
parent
0acdfd1548
commit
54ecefef04
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user