summaryrefslogtreecommitdiffstatshomepage
path: root/py/modmath.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-11 18:37:21 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-11 18:37:21 +0100
commitee7a880d6e669423309c3a5f8c20b59027604572 (patch)
treed3b2f09d32316e60a77672c0650e32a81f2ee2d1 /py/modmath.c
parent1d34e324319c3b9c22ea045d1fbe526bc05a48b4 (diff)
downloadmicropython-ee7a880d6e669423309c3a5f8c20b59027604572.tar.gz
micropython-ee7a880d6e669423309c3a5f8c20b59027604572.zip
py: Use mp_arg_check_num in more places.
Updated functions now do proper checking that n_kw==0, and are simpler because they don't have to explicitly raise an exception. Down side is that the error messages no longer include the function name, but that's acceptable. Saves order 300 text bytes on x64 and ARM.
Diffstat (limited to 'py/modmath.c')
0 files changed, 0 insertions, 0 deletions