Home
last modified time | relevance | path

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

/third_party/python/Include/
Dcomplexobject.h42 #define PyComplex_CheckExact(op) Py_IS_TYPE(op, &PyComplex_Type) macro
/third_party/python/Objects/
Dcomplexobject.c288 if (!res || PyComplex_CheckExact(res)) { in try_complex_special_method()
554 if (PyComplex_CheckExact(v)) { in complex_pos()
891 if (PyComplex_CheckExact(r) && i == NULL && in complex_new_impl()
Dcodeobject.c815 else if (PyComplex_CheckExact(op)) { in _PyCode_ConstantKey()
/third_party/python/Python/
Dast.c135 || PyComplex_CheckExact(value) in validate_constant()
382 (allow_imaginary && PyComplex_CheckExact(value)); in ensure_literal_number()
460 PyBytes_CheckExact(literal) || PyComplex_CheckExact(literal) || in validate_pattern_match_value()
Dast_unparse.c79 PyComplex_CheckExact(obj)) in append_repr()
Dmarshal.c408 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/Objects/stringlib/
Dunicode_format.h514 else if (PyComplex_CheckExact(fieldobj)) in render_field()
/third_party/python/Parser/
Dpegen.c2442 if (exp->kind != Constant_kind || !PyComplex_CheckExact(exp->v.Constant.value)) { in _PyPegen_ensure_imaginary()
2452 if (exp->kind != Constant_kind || PyComplex_CheckExact(exp->v.Constant.value)) { in _PyPegen_ensure_real()
/third_party/python/Doc/data/
Drefcounts.dat348 PyComplex_CheckExact:int:::
349 PyComplex_CheckExact:PyObject*:p:0: