mirror of
https://github.com/python/cpython.git
synced 2026-05-10 14:41:01 -04:00
09bbebea16
Add the Py_Is(x, y) function to test if the 'x' object is the 'y' object, the same as "x is y" in Python. Add also the Py_IsNone(), Py_IsTrue(), Py_IsFalse() functions to test if an object is, respectively, the None singleton, the True singleton or the False singleton.