From 7bb713d13b1fe3cca58263f5e499136a84abc456 Mon Sep 17 00:00:00 2001 From: Vanessasaurus Date: Tue, 11 Aug 2020 18:12:08 -0600 Subject: [PATCH] docs: fix spelling errors for amount in retry (#69) Fixes https://github.com/googleapis/python-api-core/issues/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 https://github.com/googleapis/python-api-core/issues/68 --- google/api_core/retry.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/google/api_core/retry.py b/google/api_core/retry.py index 446d43c0..ea890628 100644 --- a/google/api_core/retry.py +++ b/google/api_core/retry.py @@ -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: @@ -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: