Skip to content

Commit 52d102f

Browse files
committed
Fix inconsistent type annotations.
1 parent d2f3c5b commit 52d102f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tcod/event.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,13 +1376,13 @@ def ev_windowexposed(self, event: tcod.event.WindowEvent) -> Optional[T]:
13761376
This usually means a call to :any:`tcod.console_flush` is necessary.
13771377
"""
13781378

1379-
def ev_windowmoved(self, event: "tcod.event.WindowMoved") -> Optional[T]:
1379+
def ev_windowmoved(self, event: tcod.event.WindowMoved) -> Optional[T]:
13801380
"""Called when the window is moved."""
13811381

1382-
def ev_windowresized(self, event: "tcod.event.WindowResized") -> Optional[T]:
1382+
def ev_windowresized(self, event: tcod.event.WindowResized) -> Optional[T]:
13831383
"""Called when the window is resized."""
13841384

1385-
def ev_windowsizechanged(self, event: "tcod.event.WindowResized") -> Optional[T]:
1385+
def ev_windowsizechanged(self, event: tcod.event.WindowResized) -> Optional[T]:
13861386
"""Called when the system or user changes the size of the window."""
13871387

13881388
def ev_windowminimized(self, event: tcod.event.WindowEvent) -> Optional[T]:
@@ -1470,12 +1470,12 @@ def ev_controllerdeviceadded(self, event: tcod.event.ControllerDevice) -> Option
14701470
.. versionadded:: 13.8
14711471
"""
14721472

1473-
def ev_controllerdeviceremoved(self, event: ControllerDevice) -> Optional[T]:
1473+
def ev_controllerdeviceremoved(self, event: tcod.event.ControllerDevice) -> Optional[T]:
14741474
"""
14751475
.. versionadded:: 13.8
14761476
"""
14771477

1478-
def ev_controllerdeviceremapped(self, event: ControllerDevice) -> Optional[T]:
1478+
def ev_controllerdeviceremapped(self, event: tcod.event.ControllerDevice) -> Optional[T]:
14791479
"""
14801480
.. versionadded:: 13.8
14811481
"""

0 commit comments

Comments
 (0)