summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-08-30 20:44:18 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-08-30 20:55:34 +0300
commitdf6605eaba1b07a8e95349b0b8fb8dec9a13fa36 (patch)
tree563c551947f0562f2a5462e17e676ea66d88b8d6 /py
parent0102ee092b590be2736521ebf165c96bcf0bcbe6 (diff)
py/objtype: mp_obj_instance_make_new: Fix typos in comment.
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);