Fix bad syntax in two stubs.

This commit is contained in:
Guido van Rossum
2016-06-30 08:56:30 -07:00
parent c5d67e155f
commit 3a01aeb562
2 changed files with 2 additions and 2 deletions

View File

@@ -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): ...

View File

@@ -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): ...