Searched refs:PyDec_Type (Results 1 – 1 of 1) sorted by relevance
98 static PyTypeObject PyDec_Type; variable102 #define PyDec_CheckExact(v) Py_IS_TYPE(v, &PyDec_Type)103 #define PyDec_Check(v) PyObject_TypeCheck(v, &PyDec_Type)1848 if (type == &PyDec_Type) { in PyDecType_New()1849 dec = PyObject_New(PyDecObject, &PyDec_Type); in PyDecType_New()1869 #define dec_alloc() PyDecType_New(&PyDec_Type)2248 assert(PyType_IsSubtype(type, &PyDec_Type)); in PyDecType_FromFloatExact()2383 if (type == &PyDec_Type && PyDec_CheckExact(v)) { in PyDecType_FromDecimalExact()2621 PyDecType_FromCString(&PyDec_Type, str, context)2623 PyDecType_FromCStringExact(&PyDec_Type, str, context)[all …]