py: Fix recursion exception.

This commit is contained in:
Scott Shawcroft 2017-02-24 17:47:25 +01:00
parent aef0586ee1
commit 3fd19c60cc

View File

@ -52,8 +52,7 @@ void mp_stack_set_limit(mp_uint_t limit) {
}
void mp_exc_recursion_depth(void) {
mp_raise_RuntimeError(
MP_OBJ_NEW_QSTR(MP_QSTR_maximum_space_recursion_space_depth_space_exceeded));
mp_raise_RuntimeError("maximum recursion depth exceeded");
}
void mp_stack_check(void) {