Skip to content

Commit 0dee462

Browse files
committed
pool/process: fix docstring
1 parent 655dd48 commit 0dee462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pebble/pool/process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def new_worker(self):
405405

406406
def maybe_stop_worker(self, worker_id: int) -> bool:
407407
"""Try to stop the assigned worker.
408-
Returns True if the worker existed and could be stopped.
408+
Returns True if the worker did not exist or could be stopped.
409409
410410
"""
411411
with self.workers_channel.lock(block=False) as locked:

0 commit comments

Comments
 (0)