commonFunc.py 127 B

12345
  1. def update_dict(x, y):
  2. # 用字典y,来更新x
  3. # key 存在则更新,不存在则新增
  4. x.update(y)
  5. return x