add stub for os.get_terminal_size in python3 (#859)

This commit is contained in:
Avy Faingezicht
2017-01-23 11:06:39 -06:00
committed by Łukasz Langa
parent cf98162fca
commit abd2995bad

View File

@@ -382,5 +382,7 @@ if sys.version_info >= (3, 3):
dir_fd: int = ...) -> Iterator[Tuple[AnyStr, List[AnyStr],
List[AnyStr], int]]: ... # Unix only
def get_terminal_size(fd: int = ...) -> Tuple[int, int]: ...
if sys.version_info >= (3, 4):
def cpu_count() -> Optional[int]: ...