summaryrefslogtreecommitdiff
path: root/py/objnamedtuple.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-07-13 22:51:10 -0400
committerDan Halbert <halbert@halwitz.org>2018-07-13 22:51:10 -0400
commite2e01efa84d2ed46d004edf48076e4701accc176 (patch)
tree8c877ce226b6404b117990db92c9cfc93950df60 /py/objnamedtuple.c
parent0d27f4d9a66dcb47b545e715d1833094b0c7b484 (diff)
compiles and runs; hangs on import storage;storage.VfsFat.<tab>
Diffstat (limited to 'py/objnamedtuple.c')
-rw-r--r--py/objnamedtuple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objnamedtuple.c b/py/objnamedtuple.c
index 832a4a671..e44b68edc 100644
--- a/py/objnamedtuple.c
+++ b/py/objnamedtuple.c
@@ -60,7 +60,7 @@ STATIC mp_obj_t namedtuple_asdict(mp_obj_t self_in) {
MP_DEFINE_CONST_FUN_OBJ_1(namedtuple_asdict_obj, namedtuple_asdict);
#endif
-STATIC void namedtuple_print(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t kind) {
+void namedtuple_print(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t kind) {
(void)kind;
mp_obj_namedtuple_t *o = MP_OBJ_TO_PTR(o_in);
mp_printf(print, "%q", o->tuple.base.type->name);
@@ -68,7 +68,7 @@ STATIC void namedtuple_print(const mp_print_t *print, mp_obj_t o_in, mp_print_ki
mp_obj_attrtuple_print_helper(print, fields, &o->tuple);
}
-STATIC void namedtuple_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) {
+void namedtuple_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) {
if (dest[0] == MP_OBJ_NULL) {
// load attribute
mp_obj_namedtuple_t *self = MP_OBJ_TO_PTR(self_in);