python常用函数 U

update(dict)

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

例子:

原文地址:https://www.cnblogs.com/small-office/p/9337897.html