Browse Source

Use covariant TypeVar for protocol

pull/6641/head
Michael H 4 years ago
committed by GitHub
parent
commit
83bd76504a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/ext/commands/converter.py

2
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

Loading…
Cancel
Save