From 245edc2e5a1754320aa814d74716ca2386a85fbc Mon Sep 17 00:00:00 2001 From: Krishnasis Mandal Date: Sat, 16 Mar 2024 22:59:57 +0100 Subject: [PATCH] doc: Update docstring --- retry_later/lib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retry_later/lib.py b/retry_later/lib.py index c327563..1418816 100644 --- a/retry_later/lib.py +++ b/retry_later/lib.py @@ -29,7 +29,8 @@ def retry_later( backoff (int): Multiplier to add between retry attempts. (Default: 1) max_delay (int): Maximum delay. (Default: -1, no limit) max_jitter (int): Maximum random jitter. (Default: 0, no jitter) - exception (Exception): Exception or tuple of exceptions to retry. (Default: Exception Base class). + exceptions (Exception | tuple[Exception]): Exception or tuple of exceptions to retry. + (Default: Exception Base class). Returns: None: No value is returned to the caller. """