2018-10-04T10:11:55Z||2018-10-04T10:11:55Z
a = {"a": "A"}
b = {"b": "B"}
return a.update(b)
返回None
, oh no,原来update
本来就返回None
,但是会把a
更新,所以这样做是正确的:
a = {"a": "A"}
b = {"b": "B"}
a.update(b)
return a
2018-10-04T10:11:55Z||2018-10-04T10:11:55Z
a = {"a": "A"}
b = {"b": "B"}
return a.update(b)
返回None
, oh no,原来update
本来就返回None
,但是会把a
更新,所以这样做是正确的:
a = {"a": "A"}
b = {"b": "B"}
a.update(b)
return a