Searched refs:empty_array (Results 1 – 2 of 2) sorted by relevance
2217 static PyObject *empty_array = NULL; in encoder_listencode_list() local2224 if (open_array == NULL || close_array == NULL || empty_array == NULL) { in encoder_listencode_list()2227 empty_array = PyString_InternFromString("[]"); in encoder_listencode_list()2228 if (open_array == NULL || close_array == NULL || empty_array == NULL) in encoder_listencode_list()2238 return PyList_Append(rval, empty_array); in encoder_listencode_list()
2209 static PyObject *empty_array = NULL; in encoder_listencode_list() local2214 if (open_array == NULL || close_array == NULL || empty_array == NULL) { in encoder_listencode_list()2217 empty_array = PyString_InternFromString("[]"); in encoder_listencode_list()2218 if (open_array == NULL || close_array == NULL || empty_array == NULL) in encoder_listencode_list()2227 return PyList_Append(rval, empty_array); in encoder_listencode_list()