Home
last modified time | relevance | path

Searched refs:PyComplex_CheckExact (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Include/
Dcomplexobject.h14 #define PyComplex_CheckExact(op) Py_IS_TYPE(op, &PyComplex_Type) macro
/third_party/python/Objects/
Dcomplexobject.c289 if (!res || PyComplex_CheckExact(res)) { in try_complex_special_method()
555 if (PyComplex_CheckExact(v)) { in complex_pos()
707 if (PyComplex_CheckExact(self)) { in complex___complex___impl()
913 if (PyComplex_CheckExact(r) && i == NULL && in complex_new_impl()
Dcodeobject.c2102 else if (PyComplex_CheckExact(op)) { in _PyCode_ConstantKey()
/third_party/python/Python/
Dast.c160 || PyComplex_CheckExact(value) in validate_constant()
409 (allow_imaginary && PyComplex_CheckExact(value)); in ensure_literal_number()
488 PyBytes_CheckExact(literal) || PyComplex_CheckExact(literal) || in validate_pattern_match_value()
Dast_unparse.c79 PyComplex_CheckExact(obj)) in append_repr()
Dmarshal.c415 else if (PyComplex_CheckExact(v)) { in w_complex_object()
/third_party/python/Doc/c-api/
Dcomplex.rst100 .. c:function:: int PyComplex_CheckExact(PyObject *p)
/third_party/python/Parser/
Daction_helpers.c965 if (exp->kind != Constant_kind || !PyComplex_CheckExact(exp->v.Constant.value)) { in _PyPegen_ensure_imaginary()
975 if (exp->kind != Constant_kind || PyComplex_CheckExact(exp->v.Constant.value)) { in _PyPegen_ensure_real()
/third_party/python/Objects/stringlib/
Dunicode_format.h516 else if (PyComplex_CheckExact(fieldobj)) in render_field()
/third_party/python/Doc/data/
Drefcounts.dat348 PyComplex_CheckExact:int:::
349 PyComplex_CheckExact:PyObject*:p:0: