Skip to content

Commit dd59b45

Browse files
Fix type hint
Co-authored-by: Vasista Vovveti <[email protected]>
1 parent ecc63bd commit dd59b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands2/button/trigger.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def init_condition(condition: Callable[[], bool]):
8484
"""
8585
)
8686

87-
def _add_binding(self, body: Callable[bool, bool, NoneType]) -> None:
87+
def _add_binding(self, body: Callable[[bool, bool], None]) -> None:
8888
"""
8989
Adds a binding to the EventLoop.
9090

0 commit comments

Comments
 (0)