summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/objtype.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/objtype.c b/py/objtype.c
index 4973236a4..54cf844b6 100644
--- a/py/objtype.c
+++ b/py/objtype.c
@@ -251,9 +251,9 @@ mp_obj_t mp_obj_instance_make_new(const mp_obj_type_t *self, size_t n_args, size
mp_obj_instance_t *o = MP_OBJ_TO_PTR(mp_obj_new_instance(self, num_native_bases));
- // This executes only "__new__" part of obejection creation.
- // TODO: This won't work will for classes with native bases.
- // TODO: This is hack, should be resolved along the lines of
+ // This executes only "__new__" part of instance creation.
+ // TODO: This won't work well for classes with native bases.
+ // TODO: This is a hack, should be resolved along the lines of
// https://github.com/micropython/micropython/issues/606#issuecomment-43685883
if (n_args == 1 && *args == MP_OBJ_SENTINEL) {
return MP_OBJ_FROM_PTR(o);