Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 441f935

Browse files
committed
Fix typo in name of private function
2 parents d0e516d + b87a56a commit 441f935

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Lib/concurrent/futures/process.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,12 @@ def _add_call_item_to_queue(pending_work_items,
170170
del pending_work_items[work_id]
171171
continue
172172

173-
def _queue_manangement_worker(executor_reference,
174-
processes,
175-
pending_work_items,
176-
work_ids_queue,
177-
call_queue,
178-
result_queue):
173+
def _queue_management_worker(executor_reference,
174+
processes,
175+
pending_work_items,
176+
work_ids_queue,
177+
call_queue,
178+
result_queue):
179179
"""Manages the communication between this process and the worker processes.
180180
181181
This function is run in a local thread.
@@ -303,7 +303,7 @@ def weakref_cb(_, q=self._result_queue):
303303
q.put(None)
304304
if self._queue_management_thread is None:
305305
self._queue_management_thread = threading.Thread(
306-
target=_queue_manangement_worker,
306+
target=_queue_management_worker,
307307
args=(weakref.ref(self, weakref_cb),
308308
self._processes,
309309
self._pending_work_items,

0 commit comments

Comments
 (0)