Paulo J. Matos:
> Since Python focus
> on having one way to do it and structures are something like classes
> with only public methods, if I want structures that's what I should use.
> Is that right?

Yes, it is. On the other hand in Python 2.6 there's something that
helps you build one of such classes in a standard and handy way: see
"namedtuple" in the standard "collections" module.

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

Reply via email to