Skip to content

Commit 1afe72f

Browse files
committed
Threading
1 parent 661e658 commit 1afe72f

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
@@ -2014,7 +2014,7 @@ from collections import deque
20142014
Threading
20152015
---------
20162016
* **CPython interpreter can only run a single thread at a time.**
2017-
* **That is why using multiple threads won't result in a faster execution, unless one or more threads contain an I/O operation.**
2017+
* **That is why using multiple threads won't result in a faster execution, unless at least one of the threads contains an I/O operation.**
20182018
```python
20192019
from threading import Thread, RLock
20202020
```

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@
17781778
</code></pre>
17791779
<div><h2 id="threading"><a href="#threading" name="threading">#</a>Threading</h2><ul>
17801780
<li><strong>CPython interpreter can only run a single thread at a time.</strong></li>
1781-
<li><strong>That is why using multiple threads won't result in a faster execution, unless one or more threads contain an I/O operation.</strong></li>
1781+
<li><strong>That is why using multiple threads won't result in a faster execution, unless at least one of the threads contains an I/O operation.</strong></li>
17821782
</ul><pre><code class="python language-python hljs"><span class="hljs-keyword">from</span> threading <span class="hljs-keyword">import</span> Thread, RLock
17831783
</code></pre></div>
17841784

0 commit comments

Comments
 (0)