mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
1 parent
b46280ec78
commit
04f5c5699e
3 files changed
+61
-107
No files matched your search
@@ -105,6 +105,11 @@ WNOHANG = 0 # Unix only
|
||||
TMP_MAX = 0 # Undocumented, but used by tempfile
|
||||
|
||||
# ----- os classes (structures) -----
|
||||
if sys.version_info >= (3,6):
|
||||
class PathLike:
|
||||
def __fspath__(self) -> AnyStr: ...
|
||||
|
||||
|
||||
if sys.version_info >= (3, 5):
|
||||
class DirEntry:
|
||||
# This is what the scandir interator yields
|
||||
|
||||
Reference in new issue
Block a user