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

Skip to content

Commit b87a56a

Browse files
committed
Fix typo in name of private function
1 parent a5ac2ce commit b87a56a

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
@@ -169,12 +169,12 @@ def _add_call_item_to_queue(pending_work_items,
169169
del pending_work_items[work_id]
170170
continue
171171

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

0 commit comments

Comments
 (0)