mirror of
https://github.com/python/cpython.git
synced 2026-05-07 21:20:55 -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.
Miscellaneous source files for the main Python shared library