code: def make_function_arguments(args,
                              kwonly,
                              varargs,
                              varkwargs,
                              defaults,
                              kw_defaults,
                              annotations):
      
      return ast.arguments(
          args=[ast.arg(arg=a, annotation=annotations.get(a)) for a in args],
          kwonlyargs=[
              ast.arg(arg=a, annotation=annotations.get(a)) for a in kwonly
          ],
          defaults=defaults,
          kw_defaults=list(map(kw_defaults.get, kwonly)),
          vararg=None if varargs is None else ast.arg(
              arg=varargs, annotation=annotations.get(varargs),
          ),
          kwarg=None if varkwargs is None else ast.arg(
              arg=varkwargs, annotation=annotations.get(varkwargs)
          ),
      )
docs: Make an ast.arguments from the args parsed out of a code object.