On Jun 21, 8:19 pm, walterbyrd <[EMAIL PROTECTED]> wrote:
> Python seems to have a log of ways to do  collections of arbitrary
> objects: lists, tuples, dictionaries.

And sets.

> But what if I want a collection
> of non-arbitrary objects?

Then only put the kind of objects you want in the collection.

> A list of records, or something like that

'Records' can be implemented as tuples, dicts or using a custom class.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to