summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-12-15 20:44:18 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-12-15 20:44:18 (GMT)
commit6a020e8065f13737ff5f1380c132be097b4b02f9 (patch)
tree69b53f60c9a8e6704acf08236c0cffba5abab415
parent09bb89b8cf24431ef78bbaa227d2832fb852bb18 (diff)
parent18d105b824ce55afacf18a9e2a8fee6ea62b2e54 (diff)
downloadcpython-6a020e8065f13737ff5f1380c132be097b4b02f9.zip
cpython-6a020e8065f13737ff5f1380c132be097b4b02f9.tar.gz
cpython-6a020e8065f13737ff5f1380c132be097b4b02f9.tar.bz2
merge 3.3
-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))