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 36658e7a69..f50d3771a0 100644
--- a/stm/file.c
+++ b/stm/file.c
@@ -61,7 +61,7 @@ static const mp_method_t file_methods[] = {
static const mp_obj_type_t file_obj_type = {
{ &mp_const_type },
- "File",
+ .name = MP_QSTR_File,
.print = file_obj_print,
.methods = file_methods,
};