From 9eb29a6d4733c0e467ba5c1c54361f097cc1c305 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Laurent=20Tr=C3=A9guier?= Date: Fri, 16 Apr 2021 19:41:19 +0200 Subject: [PATCH] Fix small comment typo (#2112) We probably don't need to fall back on "polling" when setting up an asyncio loop --- src/black/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/black/__init__.py b/src/black/__init__.py index 3671647..bb8f8c7 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -784,7 +784,7 @@ def reformat_many( except (ImportError, OSError): # we arrive here if the underlying system does not support multi-processing # like in AWS Lambda or Termux, in which case we gracefully fallback to - # a ThreadPollExecutor with just a single worker (more workers would not do us + # a ThreadPoolExecutor with just a single worker (more workers would not do us # any good due to the Global Interpreter Lock) executor = ThreadPoolExecutor(max_workers=1) -- 2.39.5