mirror of
https://github.com/python/cpython.git
synced 2026-05-12 23:49:15 -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.
Source files for standard library extension modules, and former extension modules that are now builtin modules.