@@ -672,7 +672,7 @@ static void _pysqlite_step_callback(sqlite3_context *context, int argc, sqlite3_
672672 aggregate_instance = (PyObject * * )sqlite3_aggregate_context (context , sizeof (PyObject * ));
673673
674674 if (* aggregate_instance == 0 ) {
675- * aggregate_instance = PyObject_CallFunction (aggregate_class , "" );
675+ * aggregate_instance = PyObject_CallFunction (aggregate_class , NULL );
676676
677677 if (PyErr_Occurred ()) {
678678 * aggregate_instance = 0 ;
@@ -744,7 +744,7 @@ void _pysqlite_final_callback(sqlite3_context* context)
744744 PyErr_Fetch (& exception , & value , & tb );
745745 restore = 1 ;
746746
747- function_result = _PyObject_CallMethodId (* aggregate_instance , & PyId_finalize , "" );
747+ function_result = _PyObject_CallMethodId (* aggregate_instance , & PyId_finalize , NULL );
748748
749749 Py_DECREF (* aggregate_instance );
750750
@@ -960,7 +960,7 @@ static int _progress_handler(void* user_arg)
960960
961961 gilstate = PyGILState_Ensure ();
962962#endif
963- ret = PyObject_CallFunction ((PyObject * )user_arg , "" );
963+ ret = PyObject_CallFunction ((PyObject * )user_arg , NULL );
964964
965965 if (!ret ) {
966966 if (_enable_callback_tracebacks ) {
@@ -1291,7 +1291,7 @@ PyObject* pysqlite_connection_execute(pysqlite_Connection* self, PyObject* args)
12911291 PyObject * result = 0 ;
12921292 PyObject * method = 0 ;
12931293
1294- cursor = _PyObject_CallMethodId ((PyObject * )self , & PyId_cursor , "" );
1294+ cursor = _PyObject_CallMethodId ((PyObject * )self , & PyId_cursor , NULL );
12951295 if (!cursor ) {
12961296 goto error ;
12971297 }
@@ -1320,7 +1320,7 @@ PyObject* pysqlite_connection_executemany(pysqlite_Connection* self, PyObject* a
13201320 PyObject * result = 0 ;
13211321 PyObject * method = 0 ;
13221322
1323- cursor = _PyObject_CallMethodId ((PyObject * )self , & PyId_cursor , "" );
1323+ cursor = _PyObject_CallMethodId ((PyObject * )self , & PyId_cursor , NULL );
13241324 if (!cursor ) {
13251325 goto error ;
13261326 }
@@ -1349,7 +1349,7 @@ PyObject* pysqlite_connection_executescript(pysqlite_Connection* self, PyObject*
13491349 PyObject * result = 0 ;
13501350 PyObject * method = 0 ;
13511351
1352- cursor = _PyObject_CallMethodId ((PyObject * )self , & PyId_cursor , "" );
1352+ cursor = _PyObject_CallMethodId ((PyObject * )self , & PyId_cursor , NULL );
13531353 if (!cursor ) {
13541354 goto error ;
13551355 }
@@ -1519,7 +1519,7 @@ pysqlite_connection_create_collation(pysqlite_Connection* self, PyObject* args)
15191519 goto finally ;
15201520 }
15211521
1522- uppercase_name = _PyObject_CallMethodId (name , & PyId_upper , "" );
1522+ uppercase_name = _PyObject_CallMethodId (name , & PyId_upper , NULL );
15231523 if (!uppercase_name ) {
15241524 goto finally ;
15251525 }
@@ -1611,7 +1611,7 @@ pysqlite_connection_exit(pysqlite_Connection* self, PyObject* args)
16111611 method_name = "rollback" ;
16121612 }
16131613
1614- result = PyObject_CallMethod ((PyObject * )self , method_name , "" );
1614+ result = PyObject_CallMethod ((PyObject * )self , method_name , NULL );
16151615 if (!result ) {
16161616 return NULL ;
16171617 }
0 commit comments