- 2025年05月13日
- 星期二
我有一个带有这样一个模块的 python类: xy.py from a.b import ClassAclass ClassB: def method_1(): a = ClassA() a.method2() 然后我将ClassA定义为: b.py from c import ClassCclass ClassA: def method2(): c =
我有一个带有这样一个模块的 python类: xy.py from a.b import ClassAclass ClassB: def method_1(): a = ClassA() a.method2() 然后我将ClassA定义为: b.py from c import ClassCclass ClassA: def method2(): c =