Loading

摘要: def clean_empty(d): """ 清除字典中值为空的键值对 """ if not isinstance(d, (dict, list)): return d if isinstance(d, list): return [v for v in (clean_empty(v) for v 阅读全文
posted @ 2021-10-29 15:06 就学45分钟 阅读(598) 评论(0) 推荐(0) 编辑