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 Sebastien Bourdeauducq
parent 6ceb3f3095
commit 94271504dd
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(),