Using dictionary to hold regex patterns?

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Mon Nov 24 07:57:39 CET 2008


On Mon, 24 Nov 2008 00:46:42 +0100, Gilles Ganault wrote:

> On Sun, 23 Nov 2008 23:18:06 +0000, MRAB <google at mrabarnett.plus.com>
> wrote:
>>A list is an ordered collection of items. Each item can be anything: a
>>string, an integer, a dictionary, a tuple, a list...
> 
> Yup, learned something new today. Naively, I though a list was
> index=value, where value=a single piece of data.

Your thought was correct, each value is a single piece of data: *one* 
tuple.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list