mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-23 19:41:51 +08:00
Remove duplicate names from posixpath.pyi. (#1468)
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.
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
from typing import AnyStr, List
|
||||
|
||||
class _unicode: ...
|
||||
|
||||
def exists(path): ...
|
||||
def isfile(path): ...
|
||||
def isdir(s): ...
|
||||
def getsize(filename): ...
|
||||
def getmtime(filename): ...
|
||||
def getatime(filename): ...
|
||||
def getctime(filename): ...
|
||||
def commonprefix(m): ...
|
||||
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: ...
|
||||
|
||||
Reference in New Issue
Block a user