diff options
author | David Schneider <schneidav81@gmail.com> | 2025-08-05 16:37:58 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-08-26 23:16:01 +1000 |
commit | 8c47e446bf99393fd20c0416970f5c9a78b294f7 (patch) | |
tree | 76de40275cb1fd052cd6809aec8d7dac3ca01041 | |
parent | c33a02fe6da766a9405fd14e23389b3c8b85d0b2 (diff) |
py/obj: Fix a comment regarding make_new slot.
This was missed as part of the transition to make_new a mp_obj_type_t slot.
See also: 94beeabd2ee179d587942046555833e022241f24
Signed-off-by: David Schneider <schneidav81@gmail.com>
-rw-r--r-- | py/obj.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -814,7 +814,7 @@ typedef struct _mp_obj_full_type_t { #define MP_DEFINE_CONST_OBJ_TYPE_NARGS(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, N, ...) MP_DEFINE_CONST_OBJ_TYPE_NARGS_##N // This macros is used to define a object type in ROM. -// Invoke as MP_DEFINE_CONST_OBJ_TYPE(_typename, _name, _flags, _make_new [, slot, func]*) +// Invoke as MP_DEFINE_CONST_OBJ_TYPE(_typename, _name, _flags, [, slot, func]*) // It uses the number of arguments to select which MP_DEFINE_CONST_OBJ_TYPE_* // macro to use based on the number of arguments. It works by shifting the // numeric values 12, 11, ... 0 by the number of arguments, such that the |