2018-04-03 python中的那些警告 python中的那些警告,有时警告不仅是编程风格的问题. This dictionary creation could be rewritten as a dictionary literal.原: 12dic = {}dic['aaa'] = 5 后: 12dic = dict()dic['aaa'] = 5 why? 12# 因为你可能事先已经声明过dic了:dic = {'aaa': 5} Newer docker那些事-swarm Older docker那些事-进入