Skip to content

Commit

Permalink
Fix type hint
Browse files Browse the repository at this point in the history
Co-authored-by: Vasista Vovveti <[email protected]>
  • Loading branch information
KangarooKoala and TheTripleV authored Dec 24, 2024
1 parent ad36009 commit 1779151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands2/button/trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def init_condition(condition: Callable[[], bool]):
"""
)

def _add_binding(self, body: Callable[bool, bool, NoneType]) -> None:
def _add_binding(self, body: Callable[[bool, bool], None]) -> None:
"""
Adds a binding to the EventLoop.
Expand Down

0 comments on commit 1779151

Please sign in to comment.