summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-02-20 18:03:08 (GMT)
committerGitHub <noreply@github.com>2021-02-20 18:03:08 (GMT)
commitd439fb304ca3098aab1ed0a314996f9d29347b21 (patch)
tree10d231bac1b2f609a1179cbe8e6e06610080feb0 /Misc
parent46496f9d12582bf11f4911ad0f23315d6f277907 (diff)
downloadcpython-d439fb304ca3098aab1ed0a314996f9d29347b21.zip
cpython-d439fb304ca3098aab1ed0a314996f9d29347b21.tar.gz
cpython-d439fb304ca3098aab1ed0a314996f9d29347b21.tar.bz2
bpo-43277: Add PySet_CheckExact to the C-API (GH-24598)
For some mysterious reason we have PySet_Check, PyFrozenSet_Check, PyAnySet_Check, PyAnySet_CheckExact and PyFrozenSet_CheckExact but no PySet_CheckExact.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-02-20-16-50-22.bpo-43277.FXkRXk.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-02-20-16-50-22.bpo-43277.FXkRXk.rst b/Misc/NEWS.d/next/Core and Builtins/2021-02-20-16-50-22.bpo-43277.FXkRXk.rst
new file mode 100644
index 0000000..64e5791
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-02-20-16-50-22.bpo-43277.FXkRXk.rst
@@ -0,0 +1,3 @@
+Add a new :c:func:`PySet_CheckExact` function to the C-API to check if an
+object is an instance of :class:`set` but not an instance of a subtype.
+Patch by Pablo Galindo.