mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 08:17:07 +08:00
add stub for os.get_terminal_size in python3 (#859)
This commit is contained in:
committed by
Łukasz Langa
parent
cf98162fca
commit
abd2995bad
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user