John Machin schrieb:

General tip: Don't us a data structure that is more complicated than
what you need.

Is "[ ( name, regex ), ... ]" really "simpler" than "{ name: regex, ... }"? Intuitively, I would consider the dictionary to be the simpler structure.

Greetings,
Thomas

--
Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!
(Coluche)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to