summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na92@gmail.com>2020-02-13 17:37:17 (GMT)
committerGitHub <noreply@github.com>2020-02-13 17:37:17 (GMT)
commitd905df766c367c350f20c46ccd99d4da19ed57d8 (patch)
tree9e08a6c88d6b0dd4e73810c3f3a152b61bd773aa /Misc
parent968dcd9e7a4d3aa9aaa1dfca693adf60d6b71ce7 (diff)
downloadcpython-d905df766c367c350f20c46ccd99d4da19ed57d8.zip
cpython-d905df766c367c350f20c46ccd99d4da19ed57d8.tar.gz
cpython-d905df766c367c350f20c46ccd99d4da19ed57d8.tar.bz2
bpo-39573: Add Py_IS_TYPE() function (GH-18488)
Co-Author: Neil Schemenauer <nas-github@arctrix.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2020-02-13-01-30-22.bpo-39573.uTFj1m.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-02-13-01-30-22.bpo-39573.uTFj1m.rst b/Misc/NEWS.d/next/Core and Builtins/2020-02-13-01-30-22.bpo-39573.uTFj1m.rst
new file mode 100644
index 0000000..56e7e1b
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2020-02-13-01-30-22.bpo-39573.uTFj1m.rst
@@ -0,0 +1,2 @@
+Add :c:func:`Py_IS_TYPE` static inline function to check
+whether the object *o* type is *type*.