summaryrefslogtreecommitdiff
path: root/py/makeqstrdefs.py
diff options
context:
space:
mode:
authorYonatan Goldschmidt <yon.goldschmidt@gmail.com>2020-01-22 22:21:20 +0100
committerDamien George <damien@micropython.org>2022-07-18 11:17:49 +1000
commita8d78cc39839aaf4a77bef05377c457c7ba75ead (patch)
tree5673bb3c23fdd3fa3661fc2fe883d7f2d7252838 /py/makeqstrdefs.py
parent2a6ba47110be88ff1e1f5abd1bd76c353447884c (diff)
py/obj: Add debug-only runtime checks to mp_obj_is_type().
Zero effect on non debug builds, and also usually optimized out even in debug builds as mp_obj_is_type() is called with a compile-time known type. I'm not sure we even have dynamic uses of mp_obj_is_type() at the moment, but if we ever will they will be protected from now on. Signed-off-by: Yonatan Goldschmidt <yon.goldschmidt@gmail.com>
Diffstat (limited to 'py/makeqstrdefs.py')
0 files changed, 0 insertions, 0 deletions