summaryrefslogtreecommitdiffstatshomepage
path: root/py/objtype.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-11-24 12:07:12 +1100
committerDamien George <damien.p.george@gmail.com>2017-11-24 12:07:12 +1100
commit9783ac282ebe216d37be39fdf07113e6880c19b7 (patch)
tree62fe616966547115541e050a3588ad65b56a97fe /py/objtype.c
parent067bf849d29ab46319740a10561a112376415f51 (diff)
downloadmicropython-9783ac282ebe216d37be39fdf07113e6880c19b7.tar.gz
micropython-9783ac282ebe216d37be39fdf07113e6880c19b7.zip
py/runtime: Simplify handling of containment binary operator.
In mp_binary_op, there is no need to explicitly check for type->getiter being non-null and raising an exception because this is handled exactly by mp_getiter(). So just call the latter unconditionally.
Diffstat (limited to 'py/objtype.c')
0 files changed, 0 insertions, 0 deletions