mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Use covariant TypeVar for protocol
This commit is contained in:
parent
fbe6e2f520
commit
83bd76504a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user