forked from M-Labs/artiq
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:
parent
6ceb3f3095
commit
94271504dd
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue