diff options
author | Damien George <damien.p.george@gmail.com> | 2017-11-24 12:07:12 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-11-24 12:07:12 +1100 |
commit | 9783ac282ebe216d37be39fdf07113e6880c19b7 (patch) | |
tree | 62fe616966547115541e050a3588ad65b56a97fe /py/objtype.c | |
parent | 067bf849d29ab46319740a10561a112376415f51 (diff) | |
download | micropython-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