Unverified Commit 9eb29a6d authored by Laurent Tréguier's avatar Laurent Tréguier Committed by GitHub
Browse files

Fix small comment typo (#2112)

We probably don't need to fall back on "polling" when setting up an asyncio loop
parent 6d0bdc2f
Loading
Loading
Loading
Loading
+1 −1
Changes for src/black/__init__.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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)