Skip to content
This repository was archived by the owner on Oct 29, 2021. It is now read-only.

Commit 8f7eec1

Browse files
committed
Fixed typing problems
1 parent 2447949 commit 8f7eec1

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

dist/utilsx-v0.3.0.tar.gz

6.91 KB
Binary file not shown.

utilsx/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "v0.3.0"
1+
__version__ = "v0.3.1"

utilsx/discord/shorter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import List
1+
from typing import List, Iterable
22

33
from discord.ext import commands
44
from discord.ext.commands import Cog
@@ -59,7 +59,7 @@ def run(self, token: str) -> None:
5959
"""
6060
super().run(token, reconnect=True)
6161

62-
def load_extensions(self, extensions: List[str]) -> None:
62+
def load_extensions(self, extensions: List[str]) -> Iterable:
6363
r"""
6464
Loads all extensions from a list
6565
@@ -72,7 +72,7 @@ def load_extensions(self, extensions: List[str]) -> None:
7272
self.load_extension(extension)
7373
yield
7474

75-
def unload_extensions(self, extensions: List[str]) -> None:
75+
def unload_extensions(self, extensions: List[str]) -> Iterable:
7676
r"""
7777
Unloads all extensions from a list
7878

0 commit comments

Comments
 (0)