formations/python/formation/snippets/aggregation.py

9 lines
56 B
Python
Raw Normal View History

2013-01-08 11:15:45 +01:00
class A:
pass
class B:
pass
a = A()
a.b = B()