mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-31 08:34:23 +08:00
Make os.name str in python 3. (#296)
This commit is contained in:
committed by
Guido van Rossum
parent
8b0ff828a6
commit
b56ebf2b6a
@@ -56,6 +56,7 @@ pathsep = ... # type: str
|
||||
defpath = ... # type: str
|
||||
linesep = ... # type: str
|
||||
devnull = ... # type: str
|
||||
name = ... # type: str
|
||||
|
||||
F_OK = 0
|
||||
R_OK = 0
|
||||
@@ -155,7 +156,6 @@ class statvfs_result: # Unix only
|
||||
f_namemax = 0
|
||||
|
||||
# ----- os function stubs -----
|
||||
def name() -> str: ...
|
||||
def fsencode(filename: str) -> bytes: ...
|
||||
def fsdecode(filename: bytes) -> str: ...
|
||||
def get_exec_path(env=...) -> List[str] : ...
|
||||
|
||||
Reference in New Issue
Block a user