summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2013-10-30 11:10:02 -0700
committerGuido van Rossum <guido@python.org>2013-10-30 11:10:02 -0700
commitd005ef7caa7ae08271c050c0d0bba51d95c22763 (patch)
treec7d558796a8e10c3d5c119fd5679c1ab2a55056a /examples
parentf74c691d6cbeb30c90c83dde096019df55b9a264 (diff)
downloadtrollius-d005ef7caa7ae08271c050c0d0bba51d95c22763.tar.gz
Fold some long lines.
Diffstat (limited to 'examples')
-rw-r--r--examples/child_process.py3
-rw-r--r--examples/source1.py2
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):