summaryrefslogtreecommitdiffstats
path: root/Lib/concurrent/futures
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-05-03 14:34:42 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-05-03 14:34:42 (GMT)
commitb87a56a51954f470fa864118793cee97c04dca18 (patch)
tree86f6f977a7730a704df1b4eea89095f634729aa3 /Lib/concurrent/futures
parenta5ac2ce9825b7cf8b92a352dc614e0d8a4c41a6f (diff)
downloadcpython-b87a56a51954f470fa864118793cee97c04dca18.zip
cpython-b87a56a51954f470fa864118793cee97c04dca18.tar.gz
cpython-b87a56a51954f470fa864118793cee97c04dca18.tar.bz2
Fix typo in name of private function
Diffstat (limited to 'Lib/concurrent/futures')
-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 36cd411..ff566d3 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,