diff options
author | Raymond Hettinger <python@rcn.com> | 2011-04-26 20:55:55 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-04-26 20:55:55 (GMT) |
commit | 40fc59d98b70902f140aaf3c3e4c2b0739a9f1bc (patch) | |
tree | 082f364f553cd21d79e5724415e8a321472d67e6 /Doc/includes/mp_pool.py | |
parent | 30fe8188b4ccf8a620faf7bb38413b5a81c67ed3 (diff) | |
download | cpython-40fc59d98b70902f140aaf3c3e4c2b0739a9f1bc.zip cpython-40fc59d98b70902f140aaf3c3e4c2b0739a9f1bc.tar.gz cpython-40fc59d98b70902f140aaf3c3e4c2b0739a9f1bc.tar.bz2 |
Issue 11929: Minor whitespace clean-ups.
Diffstat (limited to 'Doc/includes/mp_pool.py')
-rw-r--r-- | Doc/includes/mp_pool.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/includes/mp_pool.py b/Doc/includes/mp_pool.py index e360703..1578498 100644 --- a/Doc/includes/mp_pool.py +++ b/Doc/includes/mp_pool.py @@ -25,18 +25,18 @@ def calculatestar(args): return calculate(*args) def mul(a, b): - time.sleep(0.5*random.random()) + time.sleep(0.5 * random.random()) return a * b def plus(a, b): - time.sleep(0.5*random.random()) + time.sleep(0.5 * random.random()) return a + b def f(x): - return 1.0 / (x-5.0) + return 1.0 / (x - 5.0) def pow3(x): - return x**3 + return x ** 3 def noop(x): pass |