diff options
author | David Lechner <david@pybricks.com> | 2022-11-26 12:12:00 -0600 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-11-28 11:23:22 +1100 |
commit | d5181034f2daa11199a1785e391c0fa8eb672de3 (patch) | |
tree | 7e0929e24420ddc40276351cf81360c853a799bd /py/modmicropython.c | |
parent | cc26bf7406dac7822de347d14a9935c101d7e8aa (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