Skip to content

Commit df6605e

Browse files
committed
py/objtype: mp_obj_instance_make_new: Fix typos in comment.
1 parent 0102ee0 commit df6605e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

py/objtype.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ mp_obj_t mp_obj_instance_make_new(const mp_obj_type_t *self, size_t n_args, size
251251

252252
mp_obj_instance_t *o = MP_OBJ_TO_PTR(mp_obj_new_instance(self, num_native_bases));
253253

254-
// This executes only "__new__" part of obejection creation.
255-
// TODO: This won't work will for classes with native bases.
256-
// TODO: This is hack, should be resolved along the lines of
254+
// This executes only "__new__" part of instance creation.
255+
// TODO: This won't work well for classes with native bases.
256+
// TODO: This is a hack, should be resolved along the lines of
257257
// https://github.com/micropython/micropython/issues/606#issuecomment-43685883
258258
if (n_args == 1 && *args == MP_OBJ_SENTINEL) {
259259
return MP_OBJ_FROM_PTR(o);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy