@@ -39,22 +39,22 @@ Executor Objects
39
39
future = executor.submit(pow, 323, 1235)
40
40
print(future.result())
41
41
42
- .. method :: map(func , *iterables, timeout=None, chunksize=1)
42
+ .. method :: map(fn , *iterables, timeout=None, chunksize=1)
43
43
44
- Similar to :func: `map(func , *iterables) <map> ` except:
44
+ Similar to :func: `map(fn , *iterables) <map> ` except:
45
45
46
46
* the *iterables * are collected immediately rather than lazily;
47
47
48
- * *func * is executed asynchronously and several calls to
49
- *func * may be made concurrently.
48
+ * *fn * is executed asynchronously and several calls to
49
+ *fn * may be made concurrently.
50
50
51
51
The returned iterator raises a :exc: `TimeoutError `
52
52
if :meth: `~iterator.__next__ ` is called and the result isn't available
53
53
after *timeout * seconds from the original call to :meth: `Executor.map `.
54
54
*timeout * can be an int or a float. If *timeout * is not specified or
55
55
``None ``, there is no limit to the wait time.
56
56
57
- If a *func * call raises an exception, then that exception will be
57
+ If a *fn * call raises an exception, then that exception will be
58
58
raised when its value is retrieved from the iterator.
59
59
60
60
When using :class: `ProcessPoolExecutor `, this method chops *iterables *
0 commit comments