From b56ebf2b6ad85e0c546745b24748bab882687956 Mon Sep 17 00:00:00 2001 From: Eklavya Sharma Date: Wed, 15 Jun 2016 05:00:07 +0530 Subject: [PATCH] Make os.name `str` in python 3. (#296) --- stdlib/3/os/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/os/__init__.pyi b/stdlib/3/os/__init__.pyi index fdda65f5a..68970be28 100644 --- a/stdlib/3/os/__init__.pyi +++ b/stdlib/3/os/__init__.pyi @@ -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] : ...