Skip to content

Commit

Permalink
Fix docstring example to match the actual yield value
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopofar committed Apr 8, 2024
1 parent bd1d504 commit 64008b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgrestq/task_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ def __iter__(
This allows to easily iterate over the tasks to process them:
>>> for task in task_queue:
>>> for task, task_id in task_queue:
execute_task(task)
it takes care of marking the tasks as done once they are processed
Expand Down

0 comments on commit 64008b0

Please sign in to comment.