for(int i=0;i<args.size();i++) {
List e = (List)args.get(i);
checkAssign(castExpr(e.get(0)));
if (e.get(0) instanceof Name) {
Name arg = (Name)e.get(0);
k.add(new keyword(arg, arg.getInternalId(), castExpr(e.get(1))));
} else {
errorHandler.error("keyword must be a name", (PythonTree)e.get(0));
}
}
}