9 lines
56 B
Python
9 lines
56 B
Python
class A:
|
|
pass
|
|
|
|
class B:
|
|
pass
|
|
|
|
a = A()
|
|
a.b = B()
|