Fix some type-check errors

This commit is contained in:
Josh authored and Rapptz committed 2022-02-22 03:59:58 -05:00
1 parent c8064ba6f2
commit 3ce00abeae
6 files changed
+19 -14

No files matched your search

+1 -1
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):