empty classes as c structs?

Carlos Ribeiro carribeiro at gmail.com
Sat Feb 5 16:35:55 EST 2005


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

-- 
Carlos Ribeiro
Consultoria em Projetos
blog: http://rascunhosrotos.blogspot.com
blog: http://pythonnotes.blogspot.com
mail: carribeiro at gmail.com
mail: carribeiro at yahoo.com



More information about the Python-list mailing list