Mapping None. Why?

Paddy paddy3118 at
Fri Jun 13 16:41:48 CEST 2008

On Jun 13, 12:49 pm, David C. Ullrich <dullr... at> wrote:
> On Thu, 12 Jun 2008 12:05:02 -0700 (PDT), Paddy
> <paddy3... at> wrote:
> >Iam wondering why the peculiar behavior of map when the function in
> >given as None:
> If you start with a value x and then apply no function
> at all to it, what results is x.
> David C. Ullrich

True, but None is not a function. It's a sentinel value to turn on the

- Paddy.

More information about the Python-list mailing list