python常用函数 U

update(dict)

字典合并,生成的为新的字典,新字典操作不会影响老字典。

例子:

 

posted @ 2018-07-19 19:31  Small_office  阅读(141)  评论(0编辑  收藏  举报