[Python-Dev] Unordered tuples/lists (original) (raw)
Benjamin Peterson benjamin at python.org
Wed May 19 01:22:49 CEST 2010
- Previous message: [Python-Dev] Unordered tuples/lists
- Next message: [Python-Dev] Unordered tuples/lists
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2010/5/18 Guido van Rossum <guido at python.org>:
This is typically called a "bag". Maybe searching for that will help you find a recipe?
Yes, and we have one in Python 2.7+ called collections.Counter.
-- Regards, Benjamin
- Previous message: [Python-Dev] Unordered tuples/lists
- Next message: [Python-Dev] Unordered tuples/lists
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]