summaryrefslogtreecommitdiffstatshomepage
path: root/py/objclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objclass.c')
-rw-r--r--py/objclass.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/py/objclass.c b/py/objclass.c
index 536abdf7e3..d13d1775a4 100644
--- a/py/objclass.c
+++ b/py/objclass.c
@@ -63,14 +63,7 @@ mp_map_t *mp_obj_class_get_locals(mp_obj_t self_in) {
const mp_obj_type_t class_type = {
{ &mp_const_type },
"class",
- NULL, // print
- NULL, // make_new
- class_call_n, // call_n
- NULL, // unary_op
- NULL, // binary_op
- NULL, // getiter
- NULL, // iternext
- .methods = {{NULL, NULL},},
+ .call_n = class_call_n,
};
mp_obj_t mp_obj_new_class(mp_map_t *class_locals) {