Skip to content

Commit

Permalink
docs: fix spelling errors for amount in retry (#69)
Browse files Browse the repository at this point in the history
Fixes #68

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-api-core/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [NA] Ensure the tests and linter pass
- [NA] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)

Fixes #68
  • Loading branch information
vsoch committed Aug 12, 2020
1 parent 805c364 commit 7bb713d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions google/api_core/retry.py
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

0 comments on commit 7bb713d

Please sign in to comment.