summaryrefslogtreecommitdiff
path: root/Lib/concurrent
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-05-03 16:35:43 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2011-05-03 16:35:43 +0200
commit32399200947de01d4a092354ece97317f8f3949f (patch)
tree838f0fae4687e2ac8820171e3016065542d90398 /Lib/concurrent
parentd3cb53570439b9f20604277d7d513804308e888f (diff)
parentd427acce73d8e6a394517b80ebc7bbbb0f1a6837 (diff)
downloadcpython-32399200947de01d4a092354ece97317f8f3949f.tar.gz
Fix typo in name of private function
Diffstat (limited to 'Lib/concurrent')
-rw-r--r--Lib/concurrent/futures/process.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/concurrent/futures/process.py b/Lib/concurrent/futures/process.py
index 1f4b242454..f0bf6d5817 100644
--- a/Lib/concurrent/futures/process.py
+++ b/Lib/concurrent/futures/process.py
@@ -170,12 +170,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.
@@ -303,7 +303,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,