mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-10 03:31:27 +08:00
macpath, os/path, posixpath and ntpath should basically be the same files (#2637)
This commit is contained in:
committed by
Sebastian Rittau
parent
ea0dbfa313
commit
5c69373890
@@ -1,37 +0,0 @@
|
||||
# NB: os2emxpath.pyi, posixpath.pyi, ntpath.pyi, and macpath.pyi must remain consistent!
|
||||
from typing import Any
|
||||
from genericpath import * # noqa: F403
|
||||
|
||||
curdir = ... # type: Any
|
||||
pardir = ... # type: Any
|
||||
extsep = ... # type: Any
|
||||
sep = ... # type: Any
|
||||
pathsep = ... # type: Any
|
||||
defpath = ... # type: Any
|
||||
altsep = ... # type: Any
|
||||
devnull = ... # type: Any
|
||||
|
||||
def normcase(s): ...
|
||||
def isabs(s): ...
|
||||
def join(a, *p): ...
|
||||
def split(p): ...
|
||||
def splitext(p): ...
|
||||
def splitdrive(p): ...
|
||||
def basename(p): ...
|
||||
def dirname(p): ...
|
||||
def islink(path): ...
|
||||
def lexists(path): ...
|
||||
def samefile(f1, f2): ...
|
||||
def sameopenfile(fp1, fp2): ...
|
||||
def samestat(s1, s2): ...
|
||||
def ismount(path): ...
|
||||
def walk(top, func, arg): ...
|
||||
def expanduser(path): ...
|
||||
def expandvars(path): ...
|
||||
def normpath(path): ...
|
||||
def abspath(path): ...
|
||||
def realpath(filename): ...
|
||||
|
||||
supports_unicode_filenames = ... # type: Any
|
||||
|
||||
def relpath(path, start=...): ...
|
||||
Reference in New Issue
Block a user