aboutsummaryrefslogtreecommitdiff
path: root/stmhal/usbdev
diff options
context:
space:
mode:
authorDamien George2016-09-28 10:55:23 +1000
committerDamien George2016-09-28 10:55:23 +1000
commitdd4135aeaf0669b8c61daf2a1f810eec12bf1336 (patch)
treed8353110814a0815b2a0972826623015cb043c42 /stmhal/usbdev
parent0c595fa0947c837e837b495aecd0ae04a4b64d2f (diff)
py/objset: Use mp_check_self() to check args of set/frozenset methods.
Following how other objects work, set/frozenset methods should use the mp_check_self() macro to check the type of the self argument, because in most cases this check can be a null operation. Saves about 100-180 bytes of code for builds with set and frozenset enabled.
Diffstat (limited to 'stmhal/usbdev')
0 files changed, 0 insertions, 0 deletions