Searched refs:empty_dict (Results 1 – 4 of 4) sorted by relevance
2067 static PyObject *empty_dict = NULL; in encoder_listencode_dict() local2076 if (open_dict == NULL || close_dict == NULL || empty_dict == NULL) { in encoder_listencode_dict()2079 empty_dict = PyString_InternFromString("{}"); in encoder_listencode_dict()2080 if (open_dict == NULL || close_dict == NULL || empty_dict == NULL) in encoder_listencode_dict()2084 return PyList_Append(rval, empty_dict); in encoder_listencode_dict()
3330 PyObject *empty_dict = NULL; in parser__pickler() local3336 if ((empty_dict = PyDict_New()) == NULL) in parser__pickler()3340 tuple = parser_st2tuple((PyST_Object*)NULL, newargs, empty_dict); in parser__pickler()3345 Py_DECREF(empty_dict); in parser__pickler()3349 Py_XDECREF(empty_dict); in parser__pickler()
2059 static PyObject *empty_dict = NULL; in encoder_listencode_dict() local2068 if (open_dict == NULL || close_dict == NULL || empty_dict == NULL) { in encoder_listencode_dict()2071 empty_dict = PyString_InternFromString("{}"); in encoder_listencode_dict()2072 if (open_dict == NULL || close_dict == NULL || empty_dict == NULL) in encoder_listencode_dict()2076 return PyList_Append(rval, empty_dict); in encoder_listencode_dict()
3359 PyObject *empty_dict = NULL; in parser__pickler() local3365 if ((empty_dict = PyDict_New()) == NULL) in parser__pickler()3369 tuple = parser_st2tuple((PyST_Object*)NULL, newargs, empty_dict); in parser__pickler()3374 Py_DECREF(empty_dict); in parser__pickler()3378 Py_XDECREF(empty_dict); in parser__pickler()