py/dynruntime: Add mp_obj_exception_init function to create C exception.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2024-05-17 10:43:34 +10:00
parent a919ce26d3
commit 482292cc66
4 changed files with 18 additions and 0 deletions

View File

@@ -344,6 +344,7 @@ const mp_fun_table_t mp_fun_table = {
&mp_type_fun_builtin_2,
&mp_type_fun_builtin_3,
&mp_type_fun_builtin_var,
&mp_type_Exception,
&mp_stream_read_obj,
&mp_stream_readinto_obj,
&mp_stream_unbuffered_readline_obj,