summaryrefslogtreecommitdiff
path: root/py/modmicropython.c
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2022-11-26 12:12:00 -0600
committerDamien George <damien@micropython.org>2022-11-28 11:23:22 +1100
commitd5181034f2daa11199a1785e391c0fa8eb672de3 (patch)
tree7e0929e24420ddc40276351cf81360c853a799bd /py/modmicropython.c
parentcc26bf7406dac7822de347d14a9935c101d7e8aa (diff)
py/bc: Fix checking for duplicate **kwargs.
The code was already checking for duplicate kwargs for named parameters but if `**kwargs` was given as a parameter, it did not check for multiples of the same argument name. This fixes the issue by adding an addition test to catch duplicates and adds a test to exercise the code. Fixes issue #10083. Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'py/modmicropython.c')
0 files changed, 0 insertions, 0 deletions