Mapping None. Why?
Paddy
paddy3118 at googlemail.com
Fri Jun 13 10:41:48 EDT 2008
On Jun 13, 12:49 pm, David C. Ullrich <dullr... at sprynet.com> wrote:
> On Thu, 12 Jun 2008 12:05:02 -0700 (PDT), Paddy
>
> <paddy3... at googlemail.com> 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
functionality.
- Paddy.
More information about the Python-list
mailing list