Y
Hacker News
new
|
ask
|
show
|
jobs
by
zem
1641 days ago
you can do that with namedtuples too; the problem is that tuples are immutable, so you cannot say e.g. `my_point3d.x = 10`