mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
merge 3.2
This commit is contained in:
commit
18d105b824
1 changed files with 0 additions and 2 deletions
|
@ -2442,8 +2442,6 @@ PyCData_traverse(CDataObject *self, visitproc visit, void *arg)
|
||||||
static int
|
static int
|
||||||
PyCData_clear(CDataObject *self)
|
PyCData_clear(CDataObject *self)
|
||||||
{
|
{
|
||||||
StgDictObject *dict = PyObject_stgdict((PyObject *)self);
|
|
||||||
assert(dict); /* Cannot be NULL for CDataObject instances */
|
|
||||||
Py_CLEAR(self->b_objects);
|
Py_CLEAR(self->b_objects);
|
||||||
if ((self->b_needsfree)
|
if ((self->b_needsfree)
|
||||||
&& _CDataObject_HasExternalBuffer(self))
|
&& _CDataObject_HasExternalBuffer(self))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue