summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-12-15 20:44:08 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-12-15 20:44:08 (GMT)
commit18d105b824ce55afacf18a9e2a8fee6ea62b2e54 (patch)
tree3e3b153f642ba3334a5c3f0bd4b2b9bf168de4d2 /Modules
parentd20e7745eeb99c5f2089b5b6ffa351658cb4e839 (diff)
parent7eb8a1a0cb0b1b84bd9748e1e584f143c70b9e97 (diff)
downloadcpython-18d105b824ce55afacf18a9e2a8fee6ea62b2e54.zip
cpython-18d105b824ce55afacf18a9e2a8fee6ea62b2e54.tar.gz
cpython-18d105b824ce55afacf18a9e2a8fee6ea62b2e54.tar.bz2
merge 3.2
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ctypes/_ctypes.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
index 440e09c..838dd63 100644
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -2442,8 +2442,6 @@ PyCData_traverse(CDataObject *self, visitproc visit, void *arg)
static int
PyCData_clear(CDataObject *self)
{
- StgDictObject *dict = PyObject_stgdict((PyObject *)self);
- assert(dict); /* Cannot be NULL for CDataObject instances */
Py_CLEAR(self->b_objects);
if ((self->b_needsfree)
&& _CDataObject_HasExternalBuffer(self))