Skip to content

Commit 3f1dafb

Browse files
committed
missing import
1 parent 46c8e4a commit 3f1dafb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tutorial.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,11 +686,13 @@ one very simply using a Queue inside of a subclassed Greenlet.
686686

687687
<pre>
688688
<code class="python">import gevent
689+
from gevent.queue import Queue
690+
689691

690692
class Actor(gevent.Greenlet):
691693

692694
def __init__(self):
693-
self.inbox = queue.Queue()
695+
self.inbox = Queue()
694696
Greenlet.__init__(self)
695697

696698
def receive(self, message):

0 commit comments

Comments
 (0)