Skip to content

Commit 3fd19c6

Browse files
committed
py: Fix recursion exception.
1 parent aef0586 commit 3fd19c6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

py/stackctrl.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ void mp_stack_set_limit(mp_uint_t limit) {
5252
}
5353

5454
void mp_exc_recursion_depth(void) {
55-
mp_raise_RuntimeError(
56-
MP_OBJ_NEW_QSTR(MP_QSTR_maximum_space_recursion_space_depth_space_exceeded));
55+
mp_raise_RuntimeError("maximum recursion depth exceeded");
5756
}
5857

5958
void mp_stack_check(void) {

0 commit comments

Comments
 (0)