Home
last modified time | relevance | path

Searched refs:second_argument (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/_sqlite/
Dcursor.c392 PyObject* second_argument = NULL; in _pysqlite_query_execute() local
406 if (!PyArg_ParseTuple(args, "OO", &operation, &second_argument)) { in _pysqlite_query_execute()
415 if (PyIter_Check(second_argument)) { in _pysqlite_query_execute()
417 Py_INCREF(second_argument); in _pysqlite_query_execute()
418 parameters_iter = second_argument; in _pysqlite_query_execute()
421 parameters_iter = PyObject_GetIter(second_argument); in _pysqlite_query_execute()
428 if (!PyArg_ParseTuple(args, "O|O", &operation, &second_argument)) { in _pysqlite_query_execute()
442 if (second_argument == NULL) { in _pysqlite_query_execute()
443 second_argument = PyTuple_New(0); in _pysqlite_query_execute()
444 if (!second_argument) { in _pysqlite_query_execute()
[all …]
/external/python/cpython2/Modules/_sqlite/
Dcursor.c452 PyObject* second_argument = NULL; in _pysqlite_query_execute() local
470 if (!PyArg_ParseTuple(args, "OO", &operation, &second_argument)) { in _pysqlite_query_execute()
479 if (PyIter_Check(second_argument)) { in _pysqlite_query_execute()
481 Py_INCREF(second_argument); in _pysqlite_query_execute()
482 parameters_iter = second_argument; in _pysqlite_query_execute()
485 parameters_iter = PyObject_GetIter(second_argument); in _pysqlite_query_execute()
492 if (!PyArg_ParseTuple(args, "O|O", &operation, &second_argument)) { in _pysqlite_query_execute()
506 if (second_argument == NULL) { in _pysqlite_query_execute()
507 second_argument = PyTuple_New(0); in _pysqlite_query_execute()
508 if (!second_argument) { in _pysqlite_query_execute()
[all …]