diff options
author | 2021-09-01 18:44:24 -0700 | |
---|---|---|
committer | 2021-09-01 18:44:24 -0700 | |
commit | aecc1e6f6f1df012add3ce394496b01e776bbfdf (patch) | |
tree | 174252cf5ee11ce043877c79507189a799d83a18 /bot/utils/randomization.py | |
parent | Union item with None to Optional with item. (diff) |
Removed None return annotation for any __init__
Diffstat (limited to 'bot/utils/randomization.py')
-rw-r--r-- | bot/utils/randomization.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/randomization.py b/bot/utils/randomization.py index 3360ef44..c9eabbd2 100644 --- a/bot/utils/randomization.py +++ b/bot/utils/randomization.py @@ -11,7 +11,7 @@ class RandomCycle: The iterable is reshuffled after each full cycle. """ - def __init__(self, iterable: Iterable) -> None: + def __init__(self, iterable: Iterable): self.iterable = list(iterable) self.index = itertools.cycle(range(len(iterable))) |