Add return type to multiprocessesing.cpu_count for Python 2.

Python 3 already had the correct type, it was missing in Python 2.
This commit is contained in:
Roy Williams
2016-12-19 22:46:56 -08:00
committed by Łukasz Langa
parent fe0e3744cc
commit 3d79158db5

View File

@@ -12,7 +12,7 @@ class AuthenticationError(ProcessError): ...
def Manager(): ...
def Pipe(duplex=True): ...
def cpu_count(): ...
def cpu_count() -> int: ...
def freeze_support(): ...
def get_logger(): ...
def log_to_stderr(level=None): ...