summaryrefslogtreecommitdiff
path: root/Lib/test/test_pydoc.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-11 00:17:39 +0200
committerGitHub <noreply@github.com>2021-04-11 00:17:39 +0200
commit09bbebea163fe7303264cf4069c51d4d2f22fde4 (patch)
treeaf9449e38983bab8ebf5a667c149cb0d33e05543 /Lib/test/test_pydoc.py
parent6e468cb16bde483ad73c1eb13b20a08d74e30846 (diff)
downloadcpython-git-09bbebea163fe7303264cf4069c51d4d2f22fde4.tar.gz
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.
Diffstat (limited to 'Lib/test/test_pydoc.py')
0 files changed, 0 insertions, 0 deletions