python dict get() takes no keyword arguments时间:2021-04-10 23:22:12 # 字典默认值报错 d= i.get('key', default = None) get() takes no keyword arguments # 直接输入默认值,就不报错了 d= i.get('key', 0)