Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tenacity/wait.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ class wait_chain(wait_base):

@retry(wait=wait_chain(*[wait_fixed(1) for i in range(3)] +
[wait_fixed(2) for j in range(5)] +
[wait_fixed(5) for k in range(4)))
[wait_fixed(5) for k in range(4)]))
def wait_chained():
print("Wait 1s for 3 attempts, 2s for 5 attempts and 5s
thereafter.")
print("Wait 1s for 3 attempts, 2s for 5 attempts and 5s "
"thereafter.")
"""

def __init__(self, *strategies: wait_base) -> None:
Expand Down