diff options
| author | Michael H <[email protected]> | 2021-04-05 20:29:15 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-05 20:29:15 -0400 |
| commit | 83bd76504a4feca40854663e4cf767d1b961db70 (patch) | |
| tree | 9fe2284b06336429e4c454d2c19a3ef6b146ad53 | |
| parent | [commands] Fix @classmethod converters (diff) | |
| download | discord.py-83bd76504a4feca40854663e4cf767d1b961db70.tar.xz discord.py-83bd76504a4feca40854663e4cf767d1b961db70.zip | |
Use covariant TypeVar for protocol
| -rw-r--r-- | discord/ext/commands/converter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py index d5a30a83..85479428 100644 --- a/discord/ext/commands/converter.py +++ b/discord/ext/commands/converter.py @@ -70,7 +70,7 @@ def _get_from_guilds(bot, getter, argument): _utils_get = discord.utils.get -T = TypeVar("T") +T = TypeVar('T', covariant=True) @runtime_checkable |