mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-18 09:05:07 +08:00
committed by
Guido van Rossum
parent
b46280ec78
commit
04f5c5699e
@@ -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