Skip to content

Commit 638d478

Browse files
refactor: Update language
1 parent 8cef28a commit 638d478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/thread/thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def __init__(
370370
------
371371
AssertionError: invalid `max_threads`
372372
"""
373-
assert 0 <= max_threads, 'Cannot run a thread pool with max threads set to 0'
373+
assert 0 <= max_threads, 'max_threads cannot be set to 0'
374374

375375
self._threads = []
376376
self._completed = 0

0 commit comments

Comments
 (0)