Use covariant TypeVar for protocol

This commit is contained in:
Michael H
2021-04-05 20:29:15 -04:00
committed by GitHub
parent fbe6e2f520
commit 83bd76504a

View File

@ -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