mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
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>
14 KiB
14 KiB