"David C. Ullrich" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
| In article
| <[EMAIL PROTECTED]>,
| Paddy <[EMAIL PROTECTED]> wrote:
|
| > True, but None is not a function. It's a sentinel value to turn on the
| > functionality.
|
| Uh, thanks. I think I knew that - I was just suggesting why
| the way map works makes sense.

filter(None, iterable) works the same way: None-> identity function,
The immediate reason is the Python has no builtin id().
But apparently there is also historical precedent in the functional 
community for this convention. 



--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to