summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2008-11-26 18:40:58 (GMT)
committerThomas Heller <theller@ctypes.org>2008-11-26 18:40:58 (GMT)
commit60e5f5e78fbbccddaf8366786ff5cf4977fb76a6 (patch)
treea365d2752131808d47a3f46078525ea55e115307 /Modules
parentbea0081fb4ef24f612fa4734c60d6592ada69756 (diff)
downloadcpython-60e5f5e78fbbccddaf8366786ff5cf4977fb76a6.zip
cpython-60e5f5e78fbbccddaf8366786ff5cf4977fb76a6.tar.gz
cpython-60e5f5e78fbbccddaf8366786ff5cf4977fb76a6.tar.bz2
Remove the Py_TPFLAGS_HAVE_GC from the _ctypes.COMError type.
Fixes issue #4433; reviewed by Benjamin Peterson.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ctypes/_ctypes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
index 11a725d..a003a6c 100644
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -5097,8 +5097,7 @@ static PyTypeObject PyComError_Type = {
0, /* tp_getattro */
0, /* tp_setattro */
0, /* tp_as_buffer */
- Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE
- | Py_TPFLAGS_HAVE_GC, /* tp_flags */
+ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */
PyDoc_STR(comerror_doc), /* tp_doc */
0, /* tp_traverse */
0, /* tp_clear */