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

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


http://hg.python.org/cpython/rev/4219747d3765
changeset:   69801:4219747d3765
branch:      3.2
parent:      69791:bb58d777eaa9
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Tue May 03 16:34:42 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
@@ -169,12 +169,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.
@@ -302,7 +302,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