SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 59 Python

bpo-43753: Add Py_Is() and Py_IsNone() functions (GH-25227)

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.
V
Victor Stinner committed
09bbebea163fe7303264cf4069c51d4d2f22fde4
Parent: 6e468cb
Committed by GitHub <noreply@github.com> on 4/10/2021, 10:17:39 PM