def add_kwarg_to_super_call(super_call, kwarg): super_call.value.keywords.append(ast.keyword(arg=None, value=ast.Name(id=kwarg.arg, ctx=ast.Load())))