formations/python/python3/fr/snippets/aggregation.py

9 lines
56 B
Python
Raw Normal View History

2018-08-21 10:25:44 +02:00
class A:
pass
class B:
pass
a = A()
a.b = B()