Searched refs:script_obj (Results 1 – 2 of 2) sorted by relevance
781 PyObject* script_obj; in pysqlite_cursor_executescript() local788 if (!PyArg_ParseTuple(args, "O", &script_obj)) { in pysqlite_cursor_executescript()798 if (PyString_Check(script_obj)) { in pysqlite_cursor_executescript()799 script_cstr = PyString_AsString(script_obj); in pysqlite_cursor_executescript()800 } else if (PyUnicode_Check(script_obj)) { in pysqlite_cursor_executescript()801 script_str = PyUnicode_AsUTF8String(script_obj); in pysqlite_cursor_executescript()
628 PyObject* script_obj; in pysqlite_cursor_executescript() local634 if (!PyArg_ParseTuple(args, "O", &script_obj)) { in pysqlite_cursor_executescript()644 if (PyUnicode_Check(script_obj)) { in pysqlite_cursor_executescript()645 script_cstr = PyUnicode_AsUTF8(script_obj); in pysqlite_cursor_executescript()