forked from M-Labs/artiq
1
0
Fork 0

Added RuntimeError to prelude to make the name available in kernels

closes #1477

Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
This commit is contained in:
Leon Riesebos 2020-12-02 15:51:45 -05:00 committed by Sébastien Bourdeauducq
parent 90fbc58adb
commit 71719f3861
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ def globals():
"IndexError": builtins.fn_IndexError(), "IndexError": builtins.fn_IndexError(),
"ValueError": builtins.fn_ValueError(), "ValueError": builtins.fn_ValueError(),
"ZeroDivisionError": builtins.fn_ZeroDivisionError(), "ZeroDivisionError": builtins.fn_ZeroDivisionError(),
"RuntimeError": builtins.fn_RuntimeError(),
# Built-in Python functions # Built-in Python functions
"len": builtins.fn_len(), "len": builtins.fn_len(),