摘要: 1. 元组形式 正确调用: test1(1, 2) #args在函数体内部为tuple类型 错误调用: test1(1, b=2) #TypeError: test1() got an unexpected keyword argument 'b'test1(a=1, b=2) #TypeError 阅读全文
posted @ 2018-07-01 19:39 暮良文王 阅读(1235) 评论(0) 推荐(0)