Which class provides a high-level interface for thread and process pools in Python?
Correct answer
D. concurrent.futures.ThreadPoolExecutor
D. concurrent.futures.ThreadPoolExecutor
concurrent.futures offers ThreadPoolExecutor and ProcessPoolExecutor.
Asked in: Python Interview Advanced
https://docs.python.org/3/library/index.htmlNot sure why the answer is D? Ask here and get an explanation.