[Python-checkins] cpython (merge 3.2 -> default): Fix typo in name of private function

antoine.pitrou python-checkins at python.org
Tue May 3 16:36:49 CEST 2011


http://hg.python.org/cpython/rev/2761c62aefff
changeset:   69802:2761c62aefff
parent:      69797:c9207c6ce24a
parent:      69801:4219747d3765
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Tue May 03 16:35:43 2011 +0200
summary:
  Fix typo in name of private function

files:
  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
--- a/Lib/concurrent/futures/process.py
+++ b/Lib/concurrent/futures/process.py
@@ -170,12 +170,12 @@
                 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 @@
             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,

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list