summaryrefslogtreecommitdiff
path: root/stm/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/file.c')
-rw-r--r--stm/file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stm/file.c b/stm/file.c
index 40ac3ff9c..6a1162385 100644
--- a/stm/file.c
+++ b/stm/file.c
@@ -92,3 +92,5 @@ mp_obj_t pyb_io_open(mp_obj_t o_filename, mp_obj_t o_mode) {
}
return self;
}
+
+MP_DEFINE_CONST_FUN_OBJ_2(mp_builtin_open_obj, pyb_io_open);