Use covariant TypeVar for protocol
This commit is contained in:
1 parent
fbe6e2f520
commit
83bd76504a
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user