aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuncheng LIU <37217311+JunchengL@users.noreply.github.com>2021-01-15 23:20:02 +0100
committerGitHub <noreply@github.com>2021-01-15 22:20:02 +0000
commit232dab0ad3ef2cca0edfe707d8f90ca0ea200ba2 (patch)
tree0ea401a1263218c74fdf65fb0f88e53e9415787a
parent84cfb979a6c5f51b3e0b593dd5bacffa4471b48e (diff)
downloadpython-api-core-232dab0ad3ef2cca0edfe707d8f90ca0ea200ba2.tar.gz
docs: fix spelling errors in retry (#131)
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 🦕
-rw-r--r--google/api_core/retry.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/google/api_core/retry.py b/google/api_core/retry.py
index ea89062..592d34f 100644
--- a/google/api_core/retry.py
+++ b/google/api_core/retry.py
@@ -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