Instantiating Classes. A class is instantiated by calling the class object: i = foo() print i.a, i.b, i.c. In the above, i is an instance of the class foo .
確定! 回上一頁