Searched refs:PyComplex_Check (Results 1 – 7 of 7) sorted by relevance
261 if (PyComplex_Check(op)) { in PyComplex_RealAsDouble()272 if (PyComplex_Check(op)) { in PyComplex_ImagAsDouble()292 if (!PyComplex_Check(res)) { in try_complex_special_method()321 if (PyComplex_Check(op)) { in PyComplex_AsCComplex()429 if (PyComplex_Check(obj)) \595 assert(PyComplex_Check(v)); in complex_richcompare()619 else if (PyComplex_Check(w)) { in complex_richcompare()949 (nbr->nb_float == NULL && nbr->nb_index == NULL && !PyComplex_Check(r))) in complex_new_impl()963 (nbi->nb_float == NULL && nbi->nb_index == NULL && !PyComplex_Check(i))) in complex_new_impl()983 if (PyComplex_Check(r)) { in complex_new_impl()[all …]
837 return nb && (nb->nb_index || nb->nb_int || nb->nb_float || PyComplex_Check(o)); in PyNumber_Check()
13 #define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type) macro
94 .. c:function:: int PyComplex_Check(PyObject *p)
345 PyComplex_Check:int:::346 PyComplex_Check:PyObject*:p:0:
3060 else if (PyComplex_Check(w) && (op == Py_EQ || op == Py_NE)) { in convert_op_cmp()
4753 PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) || in check_subscripter()