From c6e54e30169c3df7c4237641a225969fb3d20d75 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 29 Jun 2016 10:38:19 +0800 Subject: [PATCH] coredevice/core: add syscall type annotation --- artiq/coredevice/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/coredevice/core.py b/artiq/coredevice/core.py index 47ae94803..8f9330287 100644 --- a/artiq/coredevice/core.py +++ b/artiq/coredevice/core.py @@ -38,7 +38,7 @@ class CompileError(Exception): @syscall -def rtio_init(): +def rtio_init() -> TNone: raise NotImplementedError("syscall not simulated") @syscall(flags={"nounwind", "nowrite"})