mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Fix bad syntax in two stubs.
This commit is contained in:
@@ -75,7 +75,7 @@ class Future:
|
||||
|
||||
class Executor:
|
||||
def submit(self, fn, *args, **kwargs): ...
|
||||
def map(self, fn, *iterables, *, timeout=None, chunksize=1): ...
|
||||
def map(self, fn, *iterables, timeout=None, chunksize=1): ...
|
||||
def shutdown(self, wait=True): ...
|
||||
def __enter__(self): ...
|
||||
def __exit__(self, exc_type, exc_val, exc_tb): ...
|
||||
|
||||
@@ -42,5 +42,5 @@ class BrokenProcessPool(RuntimeError): ...
|
||||
class ProcessPoolExecutor(_base.Executor):
|
||||
def __init__(self, max_workers=None): ...
|
||||
def submit(self, fn, *args, **kwargs): ...
|
||||
def map(self, fn, *iterables, *, timeout=None, chunksize=1): ...
|
||||
def map(self, fn, *iterables, timeout=None, chunksize=1): ...
|
||||
def shutdown(self, wait=True): ...
|
||||
|
||||
Reference in New Issue
Block a user