mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
posixpath.pyi did a '*' import of genericpath.pyi and then redefined everything it imported. Removes the duplicate definitions from posixpath and improves the ones in genericpath.
13 lines
387 B
Python
13 lines
387 B
Python
from typing import AnyStr, List
|
|
|
|
class _unicode: ...
|
|
|
|
def commonprefix(list: List[AnyStr]) -> AnyStr: ...
|
|
def exists(path: unicode) -> bool: ...
|
|
def getatime(path: unicode) -> float: ...
|
|
def getmtime(path: unicode) -> float: ...
|
|
def getctime(path: unicode) -> float: ...
|
|
def getsize(path: unicode) -> int: ...
|
|
def isfile(path: unicode) -> bool: ...
|
|
def isdir(path: unicode) -> bool: ...
|