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/2001-January/012162.html below:

[Python-Dev] I think my set module is ready for prime time; comments?

[Python-Dev] I think my set module is ready for prime time; comments? [Python-Dev] I think my set module is ready for prime time; comments?Greg Ewing greg@cosc.canterbury.ac.nz
Thu, 25 Jan 2001 11:55:00 +1300 (NZDT)
Guido:

> But shouldn't the default value be something else,
> like none?

It should really be whatever is the first value that gets
stored after the dict is created. That way people can
use whatever they want for their dummy value and it will
Just Work. And it will probably catch most existing uses
of a dict as a set as well.

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