summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-02-05 13:24:17 (GMT)
committerGitHub <noreply@github.com>2020-02-05 13:24:17 (GMT)
commit509dd90f4684e40af3105dd3e754fa4b9c1530c1 (patch)
treea16ee3a67c7473f334efc184c7cf81fbe028e02e /Misc
parentf58bd7c1693fe041f7296a5778d0a11287895648 (diff)
downloadcpython-509dd90f4684e40af3105dd3e754fa4b9c1530c1.zip
cpython-509dd90f4684e40af3105dd3e754fa4b9c1530c1.tar.gz
cpython-509dd90f4684e40af3105dd3e754fa4b9c1530c1.tar.bz2
bpo-39542: Convert PyType_Check() to static inline function (GH-18364)
Convert PyType_HasFeature(), PyType_Check() and PyType_CheckExact() macros to static inline functions.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C API/2020-02-05-13-14-20.bpo-39542.5mleGX.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-02-05-13-14-20.bpo-39542.5mleGX.rst b/Misc/NEWS.d/next/C API/2020-02-05-13-14-20.bpo-39542.5mleGX.rst
new file mode 100644
index 0000000..46fb1d2
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2020-02-05-13-14-20.bpo-39542.5mleGX.rst
@@ -0,0 +1,2 @@
+Convert :c:func:`PyType_HasFeature`, :c:func:`PyType_Check` and
+:c:func:`PyType_CheckExact` macros to static inline functions.