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
|
_utils_get = discord.utils.get
|
||||||
T = TypeVar("T")
|
T = TypeVar('T', covariant=True)
|
||||||
|
|
||||||
|
|
||||||
@runtime_checkable
|
@runtime_checkable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user