summaryrefslogtreecommitdiff
path: root/examples/source.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@dropbox.com>2013-10-16 12:03:07 -0700
committerGuido van Rossum <guido@dropbox.com>2013-10-16 12:03:07 -0700
commitb0729fe75b6bc35054f77b01e72fe8dfede5ef17 (patch)
treee54f456e1aea9d48d5b67629b74071754a189087 /examples/source.py
parent8d9c53b1fb7977691b6e7060898090fccc9fd63d (diff)
downloadtrollius-b0729fe75b6bc35054f77b01e72fe8dfede5ef17.tar.gz
Update examples to use asyncio, not tulip.
Diffstat (limited to 'examples/source.py')
-rw-r--r--examples/source.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/source.py b/examples/source.py
index 7a5011d..6bfdcb0 100644
--- a/examples/source.py
+++ b/examples/source.py
@@ -2,7 +2,7 @@
import sys
-from tulip import *
+from asyncio import *
def dprint(*args):
print('source:', *args, file=sys.stderr)
@@ -47,7 +47,7 @@ def start(loop):
def main():
if '--iocp' in sys.argv:
- from tulip.windows_events import ProactorEventLoop
+ from asyncio.windows_events import ProactorEventLoop
loop = ProactorEventLoop()
set_event_loop(loop)
loop = get_event_loop()