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