Fix some type-check errors

This commit is contained in:
Josh
2022-02-22 16:48:41 +10:00
committed by Rapptz
parent c8064ba6f2
commit 3ce00abeae
6 changed files with 19 additions and 14 deletions

View File

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