这样做主要是为了避免名称冲突:如果两个类具有相同的属性,映射为全局名可能会造成冲突。
This is primarily to avoid name clashes: If two classes have the same attribute and are mapped to global names, they may conflict.
作为一个例子,首先定义简单的rectangularobject类,它向配置API公开了三个主要属性:长、宽和高。
To illustrate this, let's first define a simple RectangularObject class, which exposes three key properties to the configuration API: the length, width, and height.
这种机制就是属性结构(attribute structure),它主要使所有类型的信息可与类本身或类的方法、字段及其他组件相关联。
This mechanism is the attribute structure, which basically allows all kinds of information to be associated with a class itself or with the methods, fields, and other components of a class.
这个资源依赖于将被调用的一个特殊类(class属性的值),该类主要用于提供一个已公开的类,以便响应从GUI生成的所有事件。
This resource relies on a particular class (the value of the class attribute) that will be called, essentially offering an exposed class that will answer to all events generated from the GUI.
这主要由于Python会pickle实例数据(通常是_ dict _属性)和类的名称,而不会pickle类的代码。
This is primarily due to the fact that Python pickles the instance data (usually the _dict_ attribute) and the name of the class, but not the code for the class.
这是一个只读的属性集合,它定义了设备的主要和次要的设备类以及它的服务。
This is a read-only set of properties that define the device's major and minor device classes and its services.
现在有6个主要的属性,自动增加所有类在每个级别上的奖金为您的2类特定属性。
There are now 6 main attributes which are increased automatically for all classes on each level up with a bonus for your 2 class-specific attributes.
本文研究了基于遗传算法和社会演化算法的数据挖掘和文本挖掘方法,主要包括数据挖掘和文本挖掘中的属性约简问题、聚类问题。
Several methods of data mining and text mining have been studied in this paper, which mainly includes: attribute reduction methods, clustering methods.
结论幻觉的18类属性可以从4个方面来认识,其中前3类可能是最主要的。
Conclusion the 18 traits of hallucination can be understanded in 4 aspects, the front 3 aspects was important.
现版的ICSC购物中心的分类包括两个主要的种类:摩尔和开放式中心。它们各自又分为亚类。这些类别和亚类以几个关键的属性来区别。
The current ICSC shopping center classifications consist of two major categories: malls and open-air centers, each of which is divided into sub categories.
现版的ICSC购物中心的分类包括两个主要的种类:摩尔和开放式中心。它们各自又分为亚类。这些类别和亚类以几个关键的属性来区别。
The current ICSC shopping center classifications consist of two major categories: malls and open-air centers, each of which is divided into sub categories.
应用推荐