![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: Searching through a list of tuples
From: Peter Otten <__peter__@web.de>
Date: Tue Jul 12 2005 - 06:48:40 CEST
Repton wrote:
> I often find myself storing data in a list of tuples, and I want to ask
>>> items = [(1, "a", 10), (2, "b", 20), (3, "c", 30)]
A cleaner and probably faster solution would be to subclass list and
Peter
|