summaryrefslogtreecommitdiffstatshomepage
path: root/py/objtuple.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objtuple.c')
-rw-r--r--py/objtuple.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/py/objtuple.c b/py/objtuple.c
index 2cbcc0e502..a8bd11c7e2 100644
--- a/py/objtuple.c
+++ b/py/objtuple.c
@@ -31,9 +31,6 @@
#include "py/objtuple.h"
#include "py/runtime.h"
-// type check is done on getiter method to allow tuple, namedtuple, attrtuple
-#define mp_obj_is_tuple_compatible(o) (MP_OBJ_TYPE_GET_SLOT_OR_NULL(mp_obj_get_type(o), iter) == mp_obj_tuple_getiter)
-
/******************************************************************************/
/* tuple */