summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-11-24 02:57:33 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-11-24 02:57:33 (GMT)
commitf5f41bf087c28500df9399335e7452da3a06caae (patch)
treef8016e09ecea75d4792ef39c062ffc45b9c5dc80 /Include
parentceca5d29243cae41f5304fa16bf54b7258f6ad42 (diff)
downloadcpython-f5f41bf087c28500df9399335e7452da3a06caae.zip
cpython-f5f41bf087c28500df9399335e7452da3a06caae.tar.gz
cpython-f5f41bf087c28500df9399335e7452da3a06caae.tar.bz2
* Checkin remaining documentation
* Add more tests * Refactor and neaten the code a bit. * Rename union_update() to update(). * Improve the algorithms (making them a closer to sets.py).
Diffstat (limited to 'Include')
-rw-r--r--Include/setobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/setobject.h b/Include/setobject.h
index 6289f9c..267e3b0 100644
--- a/Include/setobject.h
+++ b/Include/setobject.h
@@ -20,7 +20,7 @@ typedef struct {
PyAPI_DATA(PyTypeObject) PySet_Type;
PyAPI_DATA(PyTypeObject) PyFrozenSet_Type;
-
+#define PyFrozenSet_CheckExact(ob) ((ob)->ob_type == &PyFrozenSet_Type)
#define PyAnySet_Check(ob) \
((ob)->ob_type == &PySet_Type || (ob)->ob_type == &PyFrozenSet_Type || \
PyType_IsSubtype((ob)->ob_type, &PySet_Type) || \