formations/algo/poo/cours/snippets/aggregation.py

9 lines
56 B
Python
Raw Permalink Normal View History

2017-09-05 09:25:48 +02:00
class A:
pass
class B:
pass
a = A()
a.b = B()