Skip to content

Commit 7bb713d

Browse files
authored
docs: fix spelling errors for amount in retry (#69)
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
1 parent 805c364 commit 7bb713d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

google/api_core/retry.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ def exponential_sleep_generator(initial, maximum, multiplier=_DEFAULT_DELAY_MULT
125125
https://cloud.google.com/storage/docs/exponential-backoff
126126
127127
Args:
128-
initial (float): The minimum amout of time to delay. This must
128+
initial (float): The minimum amount of time to delay. This must
129129
be greater than 0.
130-
maximum (float): The maximum amout of time to delay.
130+
maximum (float): The maximum amount of time to delay.
131131
multiplier (float): The multiplier applied to the delay.
132132
133133
Yields:
@@ -333,9 +333,9 @@ def with_delay(self, initial=None, maximum=None, multiplier=None):
333333
"""Return a copy of this retry with the given delay options.
334334
335335
Args:
336-
initial (float): The minimum amout of time to delay. This must
336+
initial (float): The minimum amount of time to delay. This must
337337
be greater than 0.
338-
maximum (float): The maximum amout of time to delay.
338+
maximum (float): The maximum amount of time to delay.
339339
multiplier (float): The multiplier applied to the delay.
340340
341341
Returns:

0 commit comments

Comments
 (0)