A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-September/009336.html below:

[Python-Dev] Challenge about print >> None

[Python-Dev] Challenge about print >> None [Python-Dev] Challenge about print >> NoneGreg Ewing greg@cosc.canterbury.ac.nz
Wed, 13 Sep 2000 13:20:06 +1200 (NZST)
Fredrik Lundh <effbot@telia.com>:

> "map(None, seq)" uses None to indicate that there are really
> no function to map things through.

This one is just as controversial as print>>None. I would
argue that it *doesn't* mean "no function", because that
doesn't make sense -- there always has to be *some* function.
It really means "use a default function which constructs
a tuple from its arguments".

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4