On Sun, 23 Nov 2008 17:55:48 +0000, Arnaud Delobelle
<[EMAIL PROTECTED]> wrote:
>But there is no reason why you should use a dictionary; just use a list
>of key-value pairs:
>
>patterns = [
>    ("pattern1", re.compile(">.+?</td>.+?>(.+?)</td>"),

Thanks for the tip, but... I thought that lists could only use integer
indexes, while text indexes had to use dictionaries. In which case do
we need dictionaries, then?
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to