• Damien George's avatar
    py: Add arg checking helper functions. · a3f94e00
    Damien George authored
    These are to assist in writing native C functions that take positional
    and keyword arguments.  mp_arg_check_num is for just checking the
    number of arguments is correct.  mp_arg_parse_all is for parsing
    positional and keyword arguments with default values.