From 3fd19c60ccd879ed676bae72d42b709b34eeaa23 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Fri, 24 Feb 2017 17:47:25 +0100 Subject: [PATCH] py: Fix recursion exception. --- py/stackctrl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/py/stackctrl.c b/py/stackctrl.c index c3ad7b21a2..83d1faeb98 100644 --- a/py/stackctrl.c +++ b/py/stackctrl.c @@ -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) {