Skip to content

Commit

Permalink
py/obj: Fix spelling of staticmethod.
Browse files Browse the repository at this point in the history
Signed-off-by: David Lechner <[email protected]>
  • Loading branch information
dlech committed Mar 28, 2023
1 parent 38e7b84 commit 283c1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/obj.h
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ typedef struct _mp_rom_obj_t { mp_const_obj_t o; } mp_rom_obj_t;

#define MP_DEFINE_CONST_DICT(dict_name, table_name) MP_DEFINE_CONST_DICT_WITH_SIZE(dict_name, table_name, MP_ARRAY_SIZE(table_name))

// These macros are used to declare and define constant staticmethond and classmethod objects
// These macros are used to declare and define constant staticmethod and classmethod objects
// You can put "static" in front of the definitions to make them local

#define MP_DECLARE_CONST_STATICMETHOD_OBJ(obj_name) extern const mp_rom_obj_static_class_method_t obj_name
Expand Down

0 comments on commit 283c1ba

Please sign in to comment.