3 ms·
Yes of course, that's just an example. In practice is can happen with immutable values, like a namedtuple.
by progval 6y ago
Yes of course, that's just an example. In practice is can happen with immutable values, like a namedtuple.
- travisjungroth 6y agoI make way more small, immutable classes than the average Python developer. I've never had the reference issue with defaults and always have it with hints.