Y
Hacker News
new
|
ask
|
show
|
jobs
by
Fatnino
1641 days ago
This is explicitly called out in the article.
What does your code do when I try my_point3d.x ?
1 comments
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`
link