diff options
author | Jesse Noller <jnoller@gmail.com> | 2008-08-19 19:06:19 (GMT) |
---|---|---|
committer | Jesse Noller <jnoller@gmail.com> | 2008-08-19 19:06:19 (GMT) |
commit | 5bc9f4c09c99eb701dbee83fb9e26eed558e474f (patch) | |
tree | 8eea24fb14c899f2d51d3206fa4a9b032159220a /Lib/multiprocessing/pool.py | |
parent | 7c972f971ce46fb2a0c6e0b49265b8d4ef2a0773 (diff) | |
download | cpython-5bc9f4c09c99eb701dbee83fb9e26eed558e474f.zip cpython-5bc9f4c09c99eb701dbee83fb9e26eed558e474f.tar.gz cpython-5bc9f4c09c99eb701dbee83fb9e26eed558e474f.tar.bz2 |
issue3352: clean up the multiprocessing API to remove many get_/set_ methods and convert them to properties. Update the docs and the examples included.
Diffstat (limited to 'Lib/multiprocessing/pool.py')
-rw-r--r-- | Lib/multiprocessing/pool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py index 1d24691..cb9f02a 100644 --- a/Lib/multiprocessing/pool.py +++ b/Lib/multiprocessing/pool.py @@ -99,7 +99,7 @@ class Pool(object): args=(self._inqueue, self._outqueue, initializer, initargs) ) self._pool.append(w) - w.name = w.get_name().replace('Process', 'PoolWorker') + w.name = w.name.replace('Process', 'PoolWorker') w.daemon = True w.start() |