diff options
Diffstat (limited to 'py/runtime.c')
-rw-r--r-- | py/runtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.c b/py/runtime.c index 0de161b08b..9d41f059f5 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -518,7 +518,7 @@ mp_obj_t rt_binary_op(int op, mp_obj_t lhs, mp_obj_t rhs) { if (mp_obj_is_exception_instance(lhs)) { lhs = mp_obj_get_type(lhs); } - if (mp_obj_is_subclass(lhs, rhs)) { + if (mp_obj_is_subclass_fast(lhs, rhs)) { return mp_const_true; } else { return mp_const_false; |