mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix some type-check errors
This commit is contained in:
1 parent
c8064ba6f2
commit
3ce00abeae
6 files changed
+19
-14
No files matched your search
+1
-1
@@ -59,7 +59,7 @@ class flag_value:
|
||||
return self
|
||||
return instance._has_flag(self.flag)
|
||||
|
||||
def __set__(self, instance: BF, value: bool) -> None:
|
||||
def __set__(self, instance: BaseFlags, value: bool) -> None:
|
||||
instance._set_flag(self.flag, value)
|
||||
|
||||
def __repr__(self):
|
||||
|
||||
Reference in new issue
Block a user