Skip to content

Commit

Permalink
py/makemoduledefs.py: Fix declaring multiple module delegations.
Browse files Browse the repository at this point in the history
Signed-off-by: Damien George <damien@micropython.org>
  • Loading branch information
dpgeorge committed Jun 14, 2023
1 parent b02a5fa commit 44295c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/makemoduledefs.py
Expand Up @@ -109,7 +109,7 @@ def generate_module_delegations(delegations):
print("\n#define MICROPY_MODULE_DELEGATIONS \\")
for obj_module, fun_name in delegations:
print(
" {{ MP_ROM_PTR(&{obj_module}), {fun_name} }},".format(
" {{ MP_ROM_PTR(&{obj_module}), {fun_name} }}, \\".format(
obj_module=obj_module, fun_name=fun_name
)
)
Expand Down

0 comments on commit 44295c9

Please sign in to comment.