summaryrefslogtreecommitdiffstatshomepage
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, 1 insertions, 1 deletions
diff --git a/stm/file.c b/stm/file.c
index f50d3771a0..283159a69b 100644
--- a/stm/file.c
+++ b/stm/file.c
@@ -60,7 +60,7 @@ static const mp_method_t file_methods[] = {
};
static const mp_obj_type_t file_obj_type = {
- { &mp_const_type },
+ { &mp_type_type },
.name = MP_QSTR_File,
.print = file_obj_print,
.methods = file_methods,