Home
last modified time | relevance | path

Searched refs:Py_Is (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Include/
Dboolobject.h27 #define Py_IsTrue(x) Py_Is((x), Py_True)
31 #define Py_IsFalse(x) Py_Is((x), Py_False)
Dobject.h126 PyAPI_FUNC(int) Py_Is(PyObject *x, PyObject *y);
127 #define Py_Is(x, y) ((x) == (y)) macro
610 #define Py_IsNone(x) Py_Is((x), Py_None)
/third_party/python/Objects/
Dobject.c2315 #undef Py_Is
2322 int Py_Is(PyObject *x, PyObject *y) in Py_Is() function
2329 return Py_Is(x, Py_None); in Py_IsNone()
2334 return Py_Is(x, Py_True); in Py_IsTrue()
2339 return Py_Is(x, Py_False); in Py_IsFalse()
/third_party/python/Modules/
D_testcapimodule.c5562 assert(Py_Is(obj, obj)); \
5563 assert(!Py_Is(obj, o_none)); \
5566 assert(Py_Is(o_none, o_none)); \
5567 assert(!Py_Is(obj, o_none)); \
5570 assert(Py_Is(o_true, o_true)); \
5571 assert(!Py_Is(o_false, o_true)); \
5572 assert(!Py_Is(obj, o_true)); \
5575 assert(Py_Is(o_false, o_false)); \
5576 assert(!Py_Is(o_true, o_false)); \
5577 assert(!Py_Is(obj, o_false)); \
[all …]
/third_party/python/Doc/data/
Dstable_abi.dat809 function,Py_Is,3.10,
/third_party/python/PC/
Dpython3dll.c75 EXPORT_FUNC(Py_Is)
/third_party/python/Doc/c-api/
Dstructures.rst65 .. c:function:: int Py_Is(const PyObject *x, const PyObject *y)
/third_party/python/Misc/NEWS.d/
D3.10.0b1.rst1803 Add the :c:func:`Py_Is(x, y) <Py_Is>` function to test if the *x* object is
/third_party/python/Misc/
Dstable_abi.txt2111 function Py_Is
/third_party/python/Doc/whatsnew/
D3.10.rst2103 * Add the :c:func:`Py_Is(x, y) <Py_Is>` function to test if the *x* object is
/third_party/python/Python/
Dceval.c3618 int res = Py_Is(left, right) ^ oparg; in _PyEval_EvalFrameDefault()