mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Added typing for os.cpu_count() (#628)
This commit is contained in:
committed by
Guido van Rossum
parent
f6bbc46c35
commit
c8f324298d
@@ -371,3 +371,6 @@ if sys.version_info >= (3, 3):
|
||||
onerror: Callable = ..., *, follow_symlinks: bool = ...,
|
||||
dir_fd: int = ...) -> Iterator[Tuple[AnyStr, List[AnyStr],
|
||||
List[AnyStr], int]]: ... # Unix only
|
||||
|
||||
if sys.version_info >= (3, 4):
|
||||
def cpu_count() -> Optional[int]: ...
|
||||
|
||||
Reference in New Issue
Block a user