... 顺序依赖性和重载(order dependency and overloading) 顺序,初始化(order of initialization) 顺序,成员初始化(order of member initialization) ...
基于6个网页-相关网页
Order of assignment vs order of initialization?
分配和初始化的顺序的顺序吗?
This is one place in which the compiler, appropriately, does complain about forward referencing, since this has to do with the order of initialization and not the way the program is compiled.
这里很多编译器都一定会抱怨“向前引用”,因为它与初始化命令有关而与这个程序的编译方式无关。
Now notice that this initialization script not only imports the class in order to make it accessible to other parts of Zope, it also registers it for "addability".
现在请注意这个初始化脚本不仅导入了那个类,使它可被 Zope 的其它部件访问,而且还将该类注册成具有“可添加性”。
应用推荐