We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e27da1 commit 3fe87b7Copy full SHA for 3fe87b7
Lib/multiprocessing/forkserver.py
@@ -61,7 +61,7 @@ def _stop_unlocked(self):
61
62
def set_forkserver_preload(self, modules_names):
63
'''Set list of module names to try to load in forkserver process.'''
64
- if not all(type(mod) is str for mod in self._preload_modules):
+ if not all(type(mod) is str for mod in module_names):
65
raise TypeError('module_names must be a list of strings')
66
self._preload_modules = modules_names
67
0 commit comments