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

py/runtime: mp_raise_msg(): Accept NULL argument for message.

In this case, raise an exception without a message.

This would allow to shove few code bytes comparing to currently used
mp_raise_msg(..., "") pattern. (Actual savings depend on function code
alignment used by a particular platform.)
parent 6771adc7
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment