(original) (raw)
On 04/28/2012 04:20 PM,
Eric V. Smith wrote:
I'd prefer an object to a dict, but not a tuple / structseq. There's no need for the members to be iterable.
/arry
But we generally use a namedtuple (or structseq) for things like get\_clock\_info. For example, for sys.float\_info there's no need for it to be a tuple, and it can be extended in the future, yet it's a structseq.
I'd prefer an object to a dict, but not a tuple / structseq. There's no need for the members to be iterable.
/arry