Skip to content

Commit b37d0b2

Browse files
committed
Threading
1 parent bee2a1c commit b37d0b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2049,7 +2049,7 @@ with ThreadPoolExecutor(max_workers=None) as executor: # None == `n_core
20492049
<Future> = executor.submit(<function> [, <arg_1>, ...])
20502050
```
20512051

2052-
#### Future
2052+
#### Future:
20532053
```python
20542054
<bool> = <Future>.done() # Checks if thread has finished executing.
20552055
<obj> = <Future>.result() # Waits for thread to finish and returns result.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1805,7 +1805,7 @@
18051805
&lt;Future&gt; = executor.submit(&lt;function&gt; [, &lt;arg_1&gt;, ...])
18061806
</code></pre></div>
18071807

1808-
<div><h4 id="future">Future</h4><pre><code class="python language-python hljs">&lt;bool&gt; = &lt;Future&gt;.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">&lt;bool&gt; = &lt;Future&gt;.done() <span class="hljs-comment"># Checks if thread has finished executing.</span>
18091809
&lt;obj&gt; = &lt;Future&gt;.result() <span class="hljs-comment"># Waits for thread to finish and returns result.</span>
18101810
</code></pre></div>
18111811

0 commit comments

Comments
 (0)