diff options
| author | Paul Sokolovsky | 2014-06-08 00:01:46 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2014-06-08 00:01:46 +0300 |
| commit | 5473f743f37e12921f4acb11fa84fe0d2b9d0650 (patch) | |
| tree | 1137afef3b9bd6bc96bffc6f7c986d2330967128 /py/objtype.c | |
| parent | b9b9354e6c0cefff071be0bc4e195eb80f1f1d96 (diff) | |
objtype: Enable __lt__ method support for instances.
Diffstat (limited to 'py/objtype.c')
| -rw-r--r-- | py/objtype.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/py/objtype.c b/py/objtype.c index dfe5eaa8f..0d6674c33 100644 --- a/py/objtype.c +++ b/py/objtype.c @@ -336,9 +336,9 @@ STATIC const qstr binary_op_method_name[] = { MP_BINARY_OP_INPLACE_FLOOR_DIVIDE, MP_BINARY_OP_INPLACE_TRUE_DIVIDE, MP_BINARY_OP_INPLACE_MODULO, - MP_BINARY_OP_INPLACE_POWER, - MP_BINARY_OP_LESS, - MP_BINARY_OP_MORE, + MP_BINARY_OP_INPLACE_POWER,*/ + [MP_BINARY_OP_LESS] = MP_QSTR___lt__, + /*MP_BINARY_OP_MORE, MP_BINARY_OP_EQUAL, MP_BINARY_OP_LESS_EQUAL, MP_BINARY_OP_MORE_EQUAL, |
