From 232dab0ad3ef2cca0edfe707d8f90ca0ea200ba2 Mon Sep 17 00:00:00 2001 From: Juncheng LIU <37217311+JunchengL@users.noreply.github.com> Date: Fri, 15 Jan 2021 23:20:02 +0100 Subject: [PATCH] docs: fix spelling errors in retry (#131) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 🦕 --- google/api_core/retry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google/api_core/retry.py b/google/api_core/retry.py index ea890628..592d34fa 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