diff options
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/flags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/flags.py b/discord/flags.py index b21e4ed8..dad88d93 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -41,7 +41,7 @@ FV = TypeVar('FV', bound='flag_value') BF = TypeVar('BF', bound='BaseFlags') -class flag_value(Generic[BF]): +class flag_value: def __init__(self, func: Callable[[Any], int]): self.flag = func(None) self.__doc__ = func.__doc__ |