summaryrefslogtreecommitdiff
path: root/examples/source.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@dropbox.com>2013-10-18 15:13:43 -0700
committerGuido van Rossum <guido@dropbox.com>2013-10-18 15:13:43 -0700
commita2905e14be6ee0e25a5ba3129cd83e4e2650da89 (patch)
tree5091447f9e0b4836ea842ad4187cb2a4fc3bbcbe /examples/source.py
parent021e2e0b10306a1162f29fd424ac4b8cc4f82835 (diff)
parent995b8657ef80fa9ebe5f03c71fcdb868728b54f3 (diff)
downloadtrollius-git-a2905e14be6ee0e25a5ba3129cd83e4e2650da89.tar.gz
Bulk merge
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 933739b..c36f147 100644
--- a/examples/source.py
+++ b/examples/source.py
@@ -3,7 +3,7 @@
import argparse
import sys
-from tulip import *
+from asyncio import *
ARGS = argparse.ArgumentParser(description="TCP data sink example.")
@@ -77,7 +77,7 @@ def main():
global args
args = ARGS.parse_args()
if args.iocp:
- from tulip.windows_events import ProactorEventLoop
+ from asyncio.windows_events import ProactorEventLoop
loop = ProactorEventLoop()
set_event_loop(loop)
else: