Kaydet (Commit) b87a56a5 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix typo in name of private function

üst a5ac2ce9
...@@ -169,7 +169,7 @@ def _add_call_item_to_queue(pending_work_items, ...@@ -169,7 +169,7 @@ def _add_call_item_to_queue(pending_work_items,
del pending_work_items[work_id] del pending_work_items[work_id]
continue continue
def _queue_manangement_worker(executor_reference, def _queue_management_worker(executor_reference,
processes, processes,
pending_work_items, pending_work_items,
work_ids_queue, work_ids_queue,
...@@ -302,7 +302,7 @@ class ProcessPoolExecutor(_base.Executor): ...@@ -302,7 +302,7 @@ class ProcessPoolExecutor(_base.Executor):
q.put(None) q.put(None)
if self._queue_management_thread is None: if self._queue_management_thread is None:
self._queue_management_thread = threading.Thread( self._queue_management_thread = threading.Thread(
target=_queue_manangement_worker, target=_queue_management_worker,
args=(weakref.ref(self, weakref_cb), args=(weakref.ref(self, weakref_cb),
self._processes, self._processes,
self._pending_work_items, self._pending_work_items,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment