Skip to content

Commit fee15b9

Browse files
committed
Rebuilt per typo reported by @ehebert.
1 parent 6a9f05f commit fee15b9

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,12 @@ <h2 id="synchronous-asynchronous-execution">Synchronous &amp; Asynchronous Execu
223223
def foo():
224224
print('Running in foo')
225225
gevent.sleep(0)
226-
print('Emplict context switch to foo again')
226+
print('Explicit context switch to foo again')
227227

228228
def bar():
229-
print('Emplict context to bar')
229+
print('Explicit context to bar')
230230
gevent.sleep(0)
231-
print('Implicit swtich switch back to bar')
231+
print('Implicit context switch back to bar')
232232

233233
gevent.joinall([
234234
gevent.spawn(foo),
@@ -239,9 +239,9 @@ <h2 id="synchronous-asynchronous-execution">Synchronous &amp; Asynchronous Execu
239239
<p></code>
240240
<pre><code class="python">
241241
Running in foo
242-
Emplict context to bar
243-
Emplict context switch to foo again
244-
Implicit swtich switch back to bar
242+
Explicit context to bar
243+
Explicit context switch to foo again
244+
Implicit context switch back to bar
245245
</pre></code></p>
246246
<p>It is illuminating to visualize the control of the program or
247247
walk through it with a debugger to see the context switches as
@@ -337,15 +337,15 @@ <h2 id="synchronous-asynchronous-execution">Synchronous &amp; Asynchronous Execu
337337
Task 8 done
338338
Task 9 done
339339
Asynchronous:
340+
Task 1 done
340341
Task 6 done
341-
Task 0 done
342342
Task 5 done
343343
Task 3 done
344344
Task 8 done
345345
Task 2 done
346346
Task 4 done
347347
Task 7 done
348-
Task 1 done
348+
Task 0 done
349349
Task 9 done
350350
</pre></code></p>
351351
<p>In the synchronous case all the tasks are run sequentially,

tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ import gevent
5959
def foo():
6060
print('Running in foo')
6161
gevent.sleep(0)
62-
print('Emplict context switch to foo again')
62+
print('Explicit context switch to foo again')
6363

6464
def bar():
65-
print('Emplict context to bar')
65+
print('Explicit context to bar')
6666
gevent.sleep(0)
67-
print('Implicit swtich switch back to bar')
67+
print('Implicit context switch back to bar')
6868

6969
gevent.joinall([
7070
gevent.spawn(foo),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy