diff options
| author | Guido van Rossum <guido@dropbox.com> | 2013-10-16 12:03:07 -0700 |
|---|---|---|
| committer | Guido van Rossum <guido@dropbox.com> | 2013-10-16 12:03:07 -0700 |
| commit | b0729fe75b6bc35054f77b01e72fe8dfede5ef17 (patch) | |
| tree | e54f456e1aea9d48d5b67629b74071754a189087 /examples/source.py | |
| parent | 8d9c53b1fb7977691b6e7060898090fccc9fd63d (diff) | |
| download | trollius-b0729fe75b6bc35054f77b01e72fe8dfede5ef17.tar.gz | |
Update examples to use asyncio, not tulip.
Diffstat (limited to 'examples/source.py')
| -rw-r--r-- | examples/source.py | 4 |
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() |
