summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/obj.c')
-rw-r--r--py/obj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/obj.c b/py/obj.c
index e21596fdf5..e3e9dbfd55 100644
--- a/py/obj.c
+++ b/py/obj.c
@@ -253,3 +253,4 @@ mp_obj_t mp_obj_len_maybe(mp_obj_t o_in) {
mp_obj_t mp_identity(mp_obj_t self) {
return self;
}
+MP_DEFINE_CONST_FUN_OBJ_1(mp_identity_obj, mp_identity);