Skip to content
Snippets Groups Projects
Commit 9e1b61de authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

py/runtime: Factor out exception raising helpers.

Introduce mp_raise_msg(), mp_raise_ValueError(), mp_raise_TypeError()
instead of previous pattern nlr_raise(mp_obj_new_exception_msg(...)).
Save few bytes on each call, which are many.
parent af9889f9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment