Maxim Khitrov:
> When the types are immutable, there is no difference.

But you may want different instances to have different immutable data.

Generally if the data (immutable or not) is the same for all the
instances, use class attributes, otherwise use instance attributes.

Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to