Searched refs:PyComplex_Check (Results 1 – 8 of 8) sorted by relevance
259 if (PyComplex_Check(op)) { in PyComplex_RealAsDouble()270 if (PyComplex_Check(op)) { in PyComplex_ImagAsDouble()291 if (!PyComplex_Check(res)) { in try_complex_special_method()320 if (PyComplex_Check(op)) { in PyComplex_AsCComplex()428 if (PyComplex_Check(obj)) \594 assert(PyComplex_Check(v)); in complex_richcompare()618 else if (PyComplex_Check(w)) { in complex_richcompare()927 (nbr->nb_float == NULL && nbr->nb_index == NULL && !PyComplex_Check(r))) in complex_new_impl()941 (nbi->nb_float == NULL && nbi->nb_index == NULL && !PyComplex_Check(i))) in complex_new_impl()961 if (PyComplex_Check(r)) { in complex_new_impl()[all …]
835 return nb && (nb->nb_index || nb->nb_int || nb->nb_float || PyComplex_Check(o)); in PyNumber_Check()
41 #define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type) macro
479 if (PyComplex_Check(obj)) in get_slot()487 if (PyComplex_Check(intermediate)) in extract()
94 .. c:function:: int PyComplex_Check(PyObject *p)
345 PyComplex_Check:int:::346 PyComplex_Check:PyObject*:p:0:
3022 else if (PyComplex_Check(w) && (op == Py_EQ || op == Py_NE)) { in convert_op_cmp()
4178 PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) || in check_subscripter()