summaryrefslogtreecommitdiffstats
path: root/Doc/includes/mp_synchronize.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-04-26 20:55:55 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-04-26 20:55:55 (GMT)
commit40fc59d98b70902f140aaf3c3e4c2b0739a9f1bc (patch)
tree082f364f553cd21d79e5724415e8a321472d67e6 /Doc/includes/mp_synchronize.py
parent30fe8188b4ccf8a620faf7bb38413b5a81c67ed3 (diff)
downloadcpython-40fc59d98b70902f140aaf3c3e4c2b0739a9f1bc.zip
cpython-40fc59d98b70902f140aaf3c3e4c2b0739a9f1bc.tar.gz
cpython-40fc59d98b70902f140aaf3c3e4c2b0739a9f1bc.tar.bz2
Issue 11929: Minor whitespace clean-ups.
Diffstat (limited to 'Doc/includes/mp_synchronize.py')
-rw-r--r--Doc/includes/mp_synchronize.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/includes/mp_synchronize.py b/Doc/includes/mp_synchronize.py
index fd393f2..81dbc38 100644
--- a/Doc/includes/mp_synchronize.py
+++ b/Doc/includes/mp_synchronize.py
@@ -5,7 +5,9 @@
# All rights reserved.
#
-import time, sys, random
+import time
+import sys
+import random
from queue import Empty
import multiprocessing # may get overwritten
@@ -237,9 +239,9 @@ def test(namespace=multiprocessing):
multiprocessing = namespace
- for func in [ test_value, test_queue, test_condition,
- test_semaphore, test_join_timeout, test_event,
- test_sharedvalues ]:
+ for func in [test_value, test_queue, test_condition,
+ test_semaphore, test_join_timeout, test_event,
+ test_sharedvalues]:
print('\n\t######## %s\n' % func.__name__)
func()