diff --git a/core/src/trezor/loop.py b/core/src/trezor/loop.py index 54f85eddeb..80ed8e160a 100644 --- a/core/src/trezor/loop.py +++ b/core/src/trezor/loop.py @@ -192,7 +192,7 @@ class Syscall: if TYPE_CHECKING: - def __await__(self) -> Generator: + def __await__(self) -> Generator[Any, Any, Any]: return self.__iter__() def handle(self, task: Task) -> None: