}
@ExposedNew
final static PyObject Dialect___new__(PyNewWrapper new_, boolean init, PyType subtype,
PyObject[] args, String[] keywords) {
ArgParser ap = new ArgParser("__new__", args, keywords,
new String[] {"dialect", "delimiter", "doublequote",
"escapechar", "lineterminator", "quotechar",
"quoting", "skipinitialspace", "strict"});
PyObject dialect = ap.getPyObject(0, null);
PyObject delimiter = ap.getPyObject(1, null);
PyObject doublequote = ap.getPyObject(2, null);
PyObject escapechar = ap.getPyObject(3, null);
PyObject lineterminator = ap.getPyObject(4, null);
PyObject quotechar = ap.getPyObject(5, null);
PyObject quoting = ap.getPyObject(6, null);
PyObject skipinitialspace = ap.getPyObject(7, null);
PyObject strict = ap.getPyObject(8, null);
if (dialect instanceof PyString) {
dialect = _csv.get_dialect_from_registry(dialect);
}