summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2020-06-30 23:52:35 +1000
committerDamien George <damien@micropython.org>2020-06-30 23:55:32 +1000
commitd06ae1d2b11d03e45b6d12a41b9435ae0ca1690c (patch)
tree8c2d839c5525e0967d5035ac61d0ce3e05d7f1b5 /py
parent41b7734c464cbdcd0d447a4de697ce9b3fcd9e04 (diff)
downloadmicropython-d06ae1d2b11d03e45b6d12a41b9435ae0ca1690c.tar.gz
micropython-d06ae1d2b11d03e45b6d12a41b9435ae0ca1690c.zip
py/obj.h: Make existing MP_TYPE_FLAG_xxx macros sequential.
There's no reason to have them non-sequential, this was likely a typo from commit 9ec1caf42e7733b5141b7aecf1b6e58834a94bf7. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py')
-rw-r--r--py/obj.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/obj.h b/py/obj.h
index 1fa24eb18c..6bec57c352 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -475,8 +475,8 @@ typedef mp_obj_t (*mp_fun_kw_t)(size_t n, const mp_obj_t *, mp_map_t *);
// operator and not the __ne__ operator. If it's set then __ne__ may be implemented.
#define MP_TYPE_FLAG_IS_SUBCLASSED (0x0001)
#define MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS (0x0002)
-#define MP_TYPE_FLAG_EQ_NOT_REFLEXIVE (0x0040)
-#define MP_TYPE_FLAG_EQ_CHECKS_OTHER_TYPE (0x0080)
+#define MP_TYPE_FLAG_EQ_NOT_REFLEXIVE (0x0004)
+#define MP_TYPE_FLAG_EQ_CHECKS_OTHER_TYPE (0x0008)
#define MP_TYPE_FLAG_EQ_HAS_NEQ_TEST (0x0010)
typedef enum {