allow file descriptors in os.stat wrapper functions (#6198)

This commit is contained in:
Akuli authored and GitHub committed 2021-10-25 13:00:27 +03:00
1 parent e38248e818
commit 8454a48c5e
2 files changed
+11 -11

No files matched your search

+3 -3
View File
@@ -94,6 +94,6 @@ def splitext(p: PathLike[AnyStr]) -> tuple[AnyStr, AnyStr]: ...
@overload
def splitext(p: AnyStr) -> tuple[AnyStr, AnyStr]: ...
def isabs(s: StrOrBytesPath) -> bool: ...
def islink(path: StrOrBytesPath) -> bool: ...
def ismount(path: StrOrBytesPath) -> bool: ...
def lexists(path: StrOrBytesPath) -> bool: ...
def islink(path: StrOrBytesPath | int) -> bool: ...
def ismount(path: StrOrBytesPath | int) -> bool: ...
def lexists(path: StrOrBytesPath | int) -> bool: ...