get method

James Mills prologic at shortcircuit.net.au
Tue Dec 30 19:56:11 EST 2008


On Wed, Dec 31, 2008 at 10:54 AM, MRAB <google at mrabarnett.plus.com> wrote:
> Occasionally someone posts here wanting to count items and solutions
> involving dict or defaultdict are suggested, and I think that a 'bag' class
> would be useful. The 'set' class was introduced first in a module, but it
> soon became a builtin. My posting was intended a possible reference
> implementation.

I think it would be a nice addition to the collections module.

cheers
James



More information about the Python-list mailing list