py: Fix recursion exception.
This commit is contained in:
parent
aef0586ee1
commit
3fd19c60cc
@ -52,8 +52,7 @@ void mp_stack_set_limit(mp_uint_t limit) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void mp_exc_recursion_depth(void) {
|
void mp_exc_recursion_depth(void) {
|
||||||
mp_raise_RuntimeError(
|
mp_raise_RuntimeError("maximum recursion depth exceeded");
|
||||||
MP_OBJ_NEW_QSTR(MP_QSTR_maximum_space_recursion_space_depth_space_exceeded));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void mp_stack_check(void) {
|
void mp_stack_check(void) {
|
||||||
|
Loading…
Reference in New Issue
Block a user