• David Lechner's avatar
    py/bc: Fix checking for duplicate **kwargs. · d5181034
    David Lechner authored
    
    
    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: default avatarDavid Lechner <david@pybricks.com>
    d5181034
bc.c 14.2 KB