Skip to content

docs: fix spelling errors for amount in retry #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2020
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
8 changes: 4 additions & 4 deletions google/api_core/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ def exponential_sleep_generator(initial, maximum, multiplier=_DEFAULT_DELAY_MULT
https://cloud.google.com/storage/docs/exponential-backoff

Args:
initial (float): The minimum amout of time to delay. This must
initial (float): The minimum amount of time to delay. This must
be greater than 0.
maximum (float): The maximum amout of time to delay.
maximum (float): The maximum amount of time to delay.
multiplier (float): The multiplier applied to the delay.

Yields:
Expand Down Expand Up @@ -333,9 +333,9 @@ def with_delay(self, initial=None, maximum=None, multiplier=None):
"""Return a copy of this retry with the given delay options.

Args:
initial (float): The minimum amout of time to delay. This must
initial (float): The minimum amount of time to delay. This must
be greater than 0.
maximum (float): The maximum amout of time to delay.
maximum (float): The maximum amount of time to delay.
multiplier (float): The multiplier applied to the delay.

Returns:
Expand Down