# 把字典内容转换为小写
def dict_to_lower(d):
    if isinstance(d, dict):
        return {k.lower(): dict_to_lower(v) for k, v in d.items()}
分类: 代码段 标签: python

评论

暂无评论数据

暂无评论数据

目录