summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDonovan Preston <dsposx@mac.com>2010-03-12 14:53:48 -0800
committerDonovan Preston <dsposx@mac.com>2010-03-12 14:53:48 -0800
commitc834ce8a132c0ce5f9e3cb8852f945c9de3918e6 (patch)
tree52e1960970105fa411af96b0297080a6850f1a39 /examples
parentc6b71436ba376aa0f6fb22fecd73919aac74a1a9 (diff)
downloadeventlet-c834ce8a132c0ce5f9e3cb8852f945c9de3918e6.tar.gz
run on stackless pypy 1.2 http://pypy.org/download.html#stackless-version
Diffstat (limited to 'examples')
-rw-r--r--examples/producer_consumer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/producer_consumer.py b/examples/producer_consumer.py
index 84e2819..b335f7d 100644
--- a/examples/producer_consumer.py
+++ b/examples/producer_consumer.py
@@ -9,6 +9,7 @@ GreenPool handles any exceptions raised and arranges so that there's a set
number of "workers", so you don't have to write that tedious management code
yourself.
"""
+from __future__ import with_statement
from eventlet.green import urllib2
import eventlet