summaryrefslogtreecommitdiffstatshomepage
path: root/py/objtype.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objtype.c')
-rw-r--r--py/objtype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/objtype.c b/py/objtype.c
index ceec78ea37..f0ded1aff9 100644
--- a/py/objtype.c
+++ b/py/objtype.c
@@ -38,6 +38,7 @@ STATIC mp_obj_t mp_obj_class_lookup(const mp_obj_type_t *type, qstr attr) {
if (elem != NULL) {
return elem->value;
}
+ /*
} else if (type->methods != NULL) {
// search methods (the const set of methods)
@@ -46,6 +47,7 @@ STATIC mp_obj_t mp_obj_class_lookup(const mp_obj_type_t *type, qstr attr) {
return (mp_obj_t)meth->fun;
}
}
+ */
}
// attribute not found, keep searching base classes