File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2049,7 +2049,7 @@ with ThreadPoolExecutor(max_workers=None) as executor: # None == `n_core
2049
2049
< Future> = executor.submit(< function> [, < arg_1> , ... ])
2050
2050
```
2051
2051
2052
- #### Future
2052
+ #### Future:
2053
2053
``` python
2054
2054
< bool > = < Future> .done() # Checks if thread has finished executing.
2055
2055
< obj> = < Future> .result() # Waits for thread to finish and returns result.
Original file line number Diff line number Diff line change 1805
1805
<Future> = executor.submit(<function> [, <arg_1>, ...])
1806
1806
</ code > </ pre > </ div >
1807
1807
1808
- < div > < h4 id ="future "> Future</ h4 > < pre > < code class ="python language-python hljs "> <bool> = <Future>.done() < span class ="hljs-comment "> # Checks if thread has finished executing.</ span >
1808
+ < div > < h4 id ="future "> Future: </ h4 > < pre > < code class ="python language-python hljs "> <bool> = <Future>.done() < span class ="hljs-comment "> # Checks if thread has finished executing.</ span >
1809
1809
<obj> = <Future>.result() < span class ="hljs-comment "> # Waits for thread to finish and returns result.</ span >
1810
1810
</ code > </ pre > </ div >
1811
1811
You can’t perform that action at this time.
0 commit comments