Skip to content

Commit

Permalink
Fix small comment typo (#2112)
Browse files Browse the repository at this point in the history
We probably don't need to fall back on "polling" when setting up an asyncio loop
  • Loading branch information
LaurentTreguier committed Apr 16, 2021
1 parent 6d0bdc2 commit 9eb29a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/black/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9eb29a6

Please sign in to comment.