empty classes as c structs?

Brian van den Broek bvande at po-box.mcgill.ca
Sat Feb 5 17:30:31 EST 2005


Carlos Ribeiro said unto the world upon 2005-02-05 16:35:
> On Sat, 05 Feb 2005 15:59:00 -0500, Brian van den Broek
> <bvande at po-box.mcgill.ca> wrote:
> 
>>(I'm just a hobbyist, so if this suggestion clashes with some well
>>established use of 'Bag' in CS terminology, well, never mind.)
> 
> 
> There's already a well know know use for the 'bag' name, including a
> recipe in Python. A bag is an arbitrary collection of objects. It's
> similar to a set. The cookbook code is at:
> 
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/259174

OK then, never mind ;-)

Thanks for the link. Best,

Brian vdB





More information about the Python-list mailing list