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/2004-January/042283.html below:

[Python-Dev] Re: PEP 326 (quick location possibility)

[Python-Dev] Re: PEP 326 (quick location possibility) [Python-Dev] Re: PEP 326 (quick location possibility)Andrew Koenig ark-mlist at att.net
Tue Jan 27 11:08:55 EST 2004
> > By extension, it would make sense to alter the objects Min and Max to
> > have their string representation be 'min()' and 'max()' respectively.
> 
> This strikes me as plausible for the following reason: int() and list(),
> for instance, instead of raising TypeError as some would expect or even
> want, return their additive identity elements.  You are proposing that
> min() and max() return their respective comparitive identity elements.

Unfortunately, no.  The identity element for min is Max, and the identity
element for max is Min.


More information about the Python-Dev mailing list

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