Optimization of attribute references.
优化属性引用。
The only operations understood by instance objects are attribute references.
实例对象唯一可用的操作就是属性引用。
Class objects support two kinds of operations: attribute references and instantiation.
类对象支持两种操作:属性引用和实例化。
Now what can we do with instance objects? The only operations understood by instance objects are attribute references. There are two kinds of valid attribute names.
现在我们可以用实例对象作什么?实例对象唯一可用的操作就是属性引用。有两种有效的属性名。
Strictly speaking, references to names in modules are attribute references: in the expression modname. funcname, modname is a module object and funcname is an attribute of it.
严格来讲,从模块中引用命名是引用属性:表达式modname .funcname中,modname是一个模块对象,funcname是它的一个属性。
Strictly speaking, references to names in modules are attribute references: in the expression modname. funcname, modname is a module object and funcname is an attribute of it.
严格来讲,从模块中引用命名是引用属性:表达式modname .funcname中,modname是一个模块对象,funcname是它的一个属性。
应用推荐