diff options
author | Guido van Rossum <guido@python.org> | 2013-10-30 11:10:02 -0700 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2013-10-30 11:10:02 -0700 |
commit | d005ef7caa7ae08271c050c0d0bba51d95c22763 (patch) | |
tree | c7d558796a8e10c3d5c119fd5679c1ab2a55056a /examples | |
parent | f74c691d6cbeb30c90c83dde096019df55b9a264 (diff) | |
download | trollius-d005ef7caa7ae08271c050c0d0bba51d95c22763.tar.gz |
Fold some long lines.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/child_process.py | 3 | ||||
-rw-r--r-- | examples/source1.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/child_process.py b/examples/child_process.py index ef31e68..8a7ed0e 100644 --- a/examples/child_process.py +++ b/examples/child_process.py @@ -103,7 +103,8 @@ def main(loop): timeout = None while registered: done, pending = yield from asyncio.wait( - registered, timeout=timeout, return_when=asyncio.FIRST_COMPLETED) + registered, timeout=timeout, + return_when=asyncio.FIRST_COMPLETED) if not done: break for f in done: diff --git a/examples/source1.py b/examples/source1.py index 4e05964..6471d81 100644 --- a/examples/source1.py +++ b/examples/source1.py @@ -43,7 +43,7 @@ class Debug: print(self.label, '[...]', file=sys.stderr) end = '\r' print(self.label, *args, file=sys.stderr, end=end, flush=True) - + @coroutine def start(loop, args): |