Skip to content

Commit 8c47e44

Browse files
dschdpgeorge
authored andcommitted
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: 94beeab Signed-off-by: David Schneider <[email protected]>
1 parent c33a02f commit 8c47e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/obj.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ typedef struct _mp_obj_full_type_t {
814814
#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
815815

816816
// This macros is used to define a object type in ROM.
817-
// Invoke as MP_DEFINE_CONST_OBJ_TYPE(_typename, _name, _flags, _make_new [, slot, func]*)
817+
// Invoke as MP_DEFINE_CONST_OBJ_TYPE(_typename, _name, _flags, [, slot, func]*)
818818
// It uses the number of arguments to select which MP_DEFINE_CONST_OBJ_TYPE_*
819819
// macro to use based on the number of arguments. It works by shifting the
820820
// numeric values 12, 11, ... 0 by the number of arguments, such that the

0 commit comments

Comments
 (0)