Also note that class definitions must appear at the top level of a module, meaning they cannot be nested classes (classes defined inside other classes or functions).
另外要注意,类定义必须出现在模块的最顶层,这意味着它们不能是嵌套的类(在其它类或函数中定义的类)。
Also note that class definitions must appear at the top level of a module, meaning they cannot be nested classes (classes defined inside other classes or functions).
另外要注意,类定义必须出现在模块的最顶层,这意味着它们不能是嵌套的类(在其它类或函数中定义的类)。
应用推荐