Various stubtest fixes (#5215)

This commit is contained in:
hatal175
2021-04-15 05:14:07 +03:00
committed by GitHub
parent 3536e2a080
commit bf201c8201
8 changed files with 78 additions and 42 deletions

View File

@@ -86,9 +86,9 @@ def isdir(s: AnyPath) -> bool: ...
def islink(path: AnyPath) -> bool: ...
def ismount(path: AnyPath) -> bool: ...
@overload
def join(a: StrPath, *paths: StrPath) -> str: ...
def join(path: StrPath, *paths: StrPath) -> str: ...
@overload
def join(a: BytesPath, *paths: BytesPath) -> bytes: ...
def join(path: BytesPath, *paths: BytesPath) -> bytes: ...
@overload
def relpath(path: BytesPath, start: Optional[BytesPath] = ...) -> bytes: ...
@overload