Skip to content

Commit 46c8e4a

Browse files
committed
fixed typos
1 parent a2dcf71 commit 46c8e4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tutorial.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ depend on the other tasks and thus can be run
4949
*synchronously*. A switch between the two
5050
executions is known as a *context switch*.
5151

52-
A context switch in gevent done through
52+
A context switch in gevent is done through
5353
*yielding*. In this case example we have
5454
two contexts which yield to each other through invoking
5555
``gevent.sleep(0)``.
@@ -317,6 +317,7 @@ In addition to using the base Greenlet class, you may also subclass
317317
Greenlet class and overload the ``_run`` method.
318318

319319
[[[cog
320+
import gevent
320321
from gevent import Greenlet
321322

322323
class MyGreenlet(Greenlet):

0 commit comments

Comments
 (0)