[Python-checkins] cpython (3.2): remove dead code

benjamin.peterson python-checkins at python.org
Sat Dec 15 21:46:26 CET 2012


http://hg.python.org/cpython/rev/8ba5a34e103e
changeset: 80865:8ba5a34e103e
branch: 3.2
parent: 80859:b47d342c449b
user: Benjamin Peterson <benjamin at python.org>
date: Sat Dec 15 15:43:58 2012 -0500
summary:
 remove dead code
files:
 Modules/_ctypes/_ctypes.c | 2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -2438,8 +2438,6 @@
 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))
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /