mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
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:
committed by
Łukasz Langa
parent
fe0e3744cc
commit
3d79158db5
@@ -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): ...
|
||||
|
||||
Reference in New Issue
Block a user