summaryrefslogtreecommitdiff
path: root/tools/metrics.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-10-02 19:49:40 +1000
committerDamien George <damien@micropython.org>2025-10-06 12:35:20 +1100
commit01a11ea45efe8e5fe7d2049902f7d6e6818d3ec1 (patch)
tree9d82ef2a259a520fcb38e470231baf6d4601aee1 /tools/metrics.py
parentac4649da6e8328d8e80f4a95156f47d9258a29bf (diff)
webassembly/objjsproxy: Support arbitrary number of args with kwargs.
When calling from Python into JavaScript and passing along keyword arguments, the FFI bindings currently only support at most 1 positional argument. For example: import js js.func(1, b=2, c=3) This commit fixes that by supporting arbitrary number of positional arguments, in combination with keyword arguments. So now the following works: import js js.func(1, 2, c=3, d=4) Tests are added for these new, supported cases. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tools/metrics.py')
0 files changed, 0 insertions, 0 deletions