Workaround mypy bug

This commit is contained in:
Kovid Goyal 2021-10-24 23:03:33 +05:30
parent 7a45653575
commit 32ad75c5ab
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -36,11 +36,11 @@
class TabMouseEvent(NamedTuple):
button: int = -1
modifiers: int = 0
action: int = GLFW_PRESS
at: float = -1000.
tab_idx: Optional[int] = None
button: int
modifiers: int
action: int
at: float
tab_idx: Optional[int]
class TabDict(TypedDict):