Searched refs:pysqlite_Warning (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Modules/_sqlite/ |
D | module.c | 38 PyObject* pysqlite_Error, *pysqlite_Warning, *pysqlite_InterfaceError, *pysqlite_DatabaseError, variable 346 … if (!(pysqlite_Warning = PyErr_NewException(MODULE_NAME ".Warning", PyExc_StandardError, NULL))) { in init_sqlite3() 349 PyDict_SetItemString(dict, "Warning", pysqlite_Warning); in init_sqlite3()
|
D | module.h | 31 extern PyObject* pysqlite_Warning;
|
D | connection.c | 203 self->Warning = pysqlite_Warning; in pysqlite_connection_init() 1225 PyErr_SetString(pysqlite_Warning, "You can only execute one statement at a time."); in pysqlite_connection_call() 1228 … PyErr_SetString(pysqlite_Warning, "SQL is of wrong type. Must be string or unicode."); in pysqlite_connection_call()
|
/external/python/cpython3/Modules/_sqlite/ |
D | module.c | 39 PyObject *pysqlite_Warning = NULL; variable 389 if (!(pysqlite_Warning = PyErr_NewException(MODULE_NAME ".Warning", PyExc_Exception, NULL))) { in PyInit__sqlite3() 392 PyDict_SetItemString(dict, "Warning", pysqlite_Warning); in PyInit__sqlite3()
|
D | module.h | 31 extern PyObject* pysqlite_Warning;
|
D | connection.c | 199 self->Warning = pysqlite_Warning; in pysqlite_connection_init() 1222 PyErr_SetString(pysqlite_Warning, "You can only execute one statement at a time."); in pysqlite_connection_call() 1225 PyErr_SetString(pysqlite_Warning, "SQL is of wrong type. Must be string."); in pysqlite_connection_call()
|