On Thu, Jan 23, 2014 at 6:18 PM, Asaf Las <roeg...@gmail.com> wrote: > if (!PyArg_ParseTuple(args, "OO", &operation, &second_argument)) { > goto error; > }
That part just asks for "any object" as the second argument. Also, that part is handling executemany(). Later on, the execute() handler looks for an optional second arg, and then looks for an iterator from it. But as a general rule, I'd advise reading the docs rather than the source, unless you're trying to figure out whether some other iterable will work. For the most part, just follow the examples and use a tuple. ChrisA -- https://mail.python.org/mailman/listinfo/python-list