From 516c6fdea9792171c6c9cb74cfcd7783daa484f9 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 6 Oct 2016 10:55:33 +0000 Subject: [PATCH] language: export TTuple. --- artiq/language/types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/language/types.py b/artiq/language/types.py index e7e4e64bb..d146f929a 100644 --- a/artiq/language/types.py +++ b/artiq/language/types.py @@ -6,7 +6,7 @@ annotations. from artiq.compiler import types, builtins __all__ = ["TNone", "TBool", "TInt32", "TInt64", "TFloat", - "TStr", "TList", "TRange32", "TRange64", "TVar"] + "TStr", "TTuple", "TList", "TRange32", "TRange64", "TVar"] TNone = builtins.TNone() TBool = builtins.TBool() @@ -14,6 +14,7 @@ TInt32 = builtins.TInt(types.TValue(32)) TInt64 = builtins.TInt(types.TValue(64)) TFloat = builtins.TFloat() TStr = builtins.TStr() +TTuple = types.TTuple TList = builtins.TList TRange32 = builtins.TRange(builtins.TInt(types.TValue(32))) TRange64 = builtins.TRange(builtins.TInt(types.TValue(64)))