基本解释n.获取属性(get attribute的缩写)同根派生 getattr相关词英汉例句For targets which are attribute references, the initial value is retrieved with a getattr() and the result is assigned with a setattr(). 除了在一条语句中赋值给元组和多个对象的情况,增量赋值语句所完成的赋值用与普通赋值同样的方式处理。getattr更多例句