aboutsummaryrefslogtreecommitdiff
path: root/discord/backoff.py
diff options
context:
space:
mode:
authorNCPlayz <[email protected]>2019-03-16 21:43:55 +0000
committerRapptz <[email protected]>2019-03-19 08:24:42 -0400
commitfb02191b80972a9cf7c3baa765cb3aa84c6f1cfa (patch)
tree7a0a5c9aaa5cc5bac26fc51caf4fdffbaee64c26 /discord/backoff.py
parentTake back ownership of files from aiohttp for retrying requests. (diff)
downloaddiscord.py-fb02191b80972a9cf7c3baa765cb3aa84c6f1cfa.tar.xz
discord.py-fb02191b80972a9cf7c3baa765cb3aa84c6f1cfa.zip
Organise documentation
Diffstat (limited to 'discord/backoff.py')
-rw-r--r--discord/backoff.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/backoff.py b/discord/backoff.py
index 01646f48..a4f3221c 100644
--- a/discord/backoff.py
+++ b/discord/backoff.py
@@ -41,10 +41,10 @@ class ExponentialBackoff:
Parameters
----------
- base: int
+ base: :class:`int`
The base delay in seconds. The first retry-delay will be up to
this many seconds.
- integral: bool
+ integral: :class:`bool`
Set to True if whole periods of base is desirable, otherwise any
number in between may be returned.
"""