Skip to content

Commit

Permalink
docs: fix spelling errors in retry (#131)
Browse files Browse the repository at this point in the history
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 #130 🦕
  • Loading branch information
JunchengL committed Jan 15, 2021
1 parent 84cfb97 commit 232dab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/api_core/retry.py
Expand Up @@ -230,9 +230,9 @@ class Retry(object):
Args:
predicate (Callable[Exception]): A callable that should return ``True``
if the given exception is retryable.
initial (float): The minimum a,out of time to delay in seconds. This
initial (float): The minimum amount of time to delay in seconds. This
must be greater than 0.
maximum (float): The maximum amout of time to delay in seconds.
maximum (float): The maximum amount of time to delay in seconds.
multiplier (float): The multiplier applied to the delay.
deadline (float): How long to keep retrying in seconds. The last sleep
period is shortened as necessary, so that the last retry runs at
Expand Down

0 comments on commit 232dab0

Please sign in to comment.