python - 字典合并方法

除了update等常用方法,可以使用**

dict(dict1, **dict2)

具体参考:https://jingyan.baidu.com/article/b24f6c82980309c6bfe5dafd.html

posted @ 2021-09-03 11:32  mkay  阅读(46)  评论(0编辑  收藏  举报