Searched refs:PyEncoderType (Results 1 – 2 of 2) sorted by relevance
27 #define PyEncoder_Check(op) PyObject_TypeCheck(op, &PyEncoderType)28 #define PyEncoder_CheckExact(op) (Py_TYPE(op) == &PyEncoderType)31 static PyTypeObject PyEncoderType; variable2336 PyTypeObject PyEncoderType = { variable2401 PyEncoderType.tp_new = PyType_GenericNew; in init_json()2402 if (PyType_Ready(&PyEncoderType) < 0) in init_json()2407 Py_INCREF((PyObject*)&PyEncoderType); in init_json()2408 PyModule_AddObject(m, "make_encoder", (PyObject*)&PyEncoderType); in init_json()
27 #define PyEncoder_Check(op) PyObject_TypeCheck(op, &PyEncoderType)28 #define PyEncoder_CheckExact(op) (Py_TYPE(op) == &PyEncoderType)31 static PyTypeObject PyEncoderType; variable2348 PyTypeObject PyEncoderType = { variable2413 PyEncoderType.tp_new = PyType_GenericNew; in init_json()2414 if (PyType_Ready(&PyEncoderType) < 0) in init_json()2419 Py_INCREF((PyObject*)&PyEncoderType); in init_json()2420 PyModule_AddObject(m, "make_encoder", (PyObject*)&PyEncoderType); in init_json()