public PyObject __call__(PyObject[] args, String[] keywords) {
PyCursor cursor = (PyCursor)__self__;
PyArgParser parser = new PyArgParser(args, keywords);
PyObject sql = parser.arg(0);
PyObject params = parser.kw("params", Py.None);
PyObject bindings = parser.kw("bindings", Py.None);
PyObject maxrows = parser.kw("maxrows", Py.None);
params = parser.numArg() >= 2 ? parser.arg(1) : params;
bindings = parser.numArg() >= 3 ? parser.arg(2) : bindings;
maxrows = parser.numArg() >= 4 ? parser.arg(3) : maxrows;