diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-05-03 16:34:42 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-05-03 16:34:42 +0200 |
commit | d427acce73d8e6a394517b80ebc7bbbb0f1a6837 (patch) | |
tree | 6333413c4c7f7262d4da8035d5a5496e977030c2 /Lib/concurrent | |
parent | 6fe39870d730002c2652280fd2ab76f234614581 (diff) | |
download | cpython-d427acce73d8e6a394517b80ebc7bbbb0f1a6837.tar.gz |
Fix typo in name of private function
Diffstat (limited to 'Lib/concurrent')
-rw-r--r-- | Lib/concurrent/futures/process.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/concurrent/futures/process.py b/Lib/concurrent/futures/process.py index 36cd411fc1..ff566d3eb3 100644 --- a/Lib/concurrent/futures/process.py +++ b/Lib/concurrent/futures/process.py @@ -169,12 +169,12 @@ def _add_call_item_to_queue(pending_work_items, del pending_work_items[work_id] continue -def _queue_manangement_worker(executor_reference, - processes, - pending_work_items, - work_ids_queue, - call_queue, - result_queue): +def _queue_management_worker(executor_reference, + processes, + pending_work_items, + work_ids_queue, + call_queue, + result_queue): """Manages the communication between this process and the worker processes. This function is run in a local thread. @@ -302,7 +302,7 @@ class ProcessPoolExecutor(_base.Executor): q.put(None) if self._queue_management_thread is None: self._queue_management_thread = threading.Thread( - target=_queue_manangement_worker, + target=_queue_management_worker, args=(weakref.ref(self, weakref_cb), self._processes, self._pending_work_items, |