File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,8 @@ static compobject *
273273newcompobject (PyTypeObject * type )
274274{
275275 compobject * self ;
276- assert (type != NULL && type -> tp_alloc != NULL );
276+ assert (type != NULL );
277+ assert (type -> tp_alloc != NULL );
277278 self = _compobject_CAST (type -> tp_alloc (type , 0 ));
278279 if (self == NULL )
279280 return NULL ;
@@ -1124,7 +1125,6 @@ zlib_Compress_copy_impl(compobject *self, PyTypeObject *cls)
11241125 return_value -> is_initialised = 1 ;
11251126
11261127 LEAVE_ZLIB (self );
1127- assert (PyObject_GC_IsTracked ((PyObject * )return_value ));
11281128 return (PyObject * )return_value ;
11291129
11301130error :
@@ -1210,7 +1210,6 @@ zlib_Decompress_copy_impl(compobject *self, PyTypeObject *cls)
12101210 return_value -> is_initialised = 1 ;
12111211
12121212 LEAVE_ZLIB (self );
1213- assert (PyObject_GC_IsTracked ((PyObject * )return_value ));
12141213 return (PyObject * )return_value ;
12151214
12161215error :
You can’t perform that action at this time.
0 commit comments