最好方式使用filter,代码示例:
def _filter(self, item):
if(item['status'] == ):
return False
return True #lambda e:e%!=
data['items'] = filter(self._filter,data['items'])
参考资料:
http://www.cnblogs.com/GODYCA/archive/2013/06/04/3116887.html
http://blog.****.net/emaste_r/article/details/47406143