diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-02-24 17:47:25 +0100 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-02-24 17:47:25 +0100 |
| commit | 3fd19c60ccd879ed676bae72d42b709b34eeaa23 (patch) | |
| tree | ad1da9e31167b971b491ad875c96c3480fb25dbc /py/stackctrl.c | |
| parent | aef0586ee101aa1ba9f0cda38f23b0fdef3312a6 (diff) | |
py: Fix recursion exception.
Diffstat (limited to 'py/stackctrl.c')
| -rw-r--r-- | py/stackctrl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/py/stackctrl.c b/py/stackctrl.c index c3ad7b21a..83d1faeb9 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) { |
