From 1779151eb442ed64a4b42afdba87bdb43726a733 Mon Sep 17 00:00:00 2001 From: Joseph Eng <91924258+KangarooKoala@users.noreply.github.com> Date: Mon, 23 Dec 2024 19:09:05 -0800 Subject: [PATCH] Fix type hint Co-authored-by: Vasista Vovveti --- commands2/button/trigger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands2/button/trigger.py b/commands2/button/trigger.py index cdfe207..0534f8a 100644 --- a/commands2/button/trigger.py +++ b/commands2/button/trigger.py @@ -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.