code: def create_arguments(primary, pyfunction, call_node, scope):
      
      args = list(call_node.args)
      args.extend(call_node.keywords)
      called = call_node.func
      # XXX: Handle constructors
      if _is_method_call(primary, pyfunction) and \
         isinstance(called, ast.Attribute):
          args.insert(0, called.value)
      return Arguments(args, scope)
docs: A factory for creating `Arguments`