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/2008-January/076528.html below:

[Python-Dev] trunc()

[Python-Dev] trunc() [Python-Dev] trunc()Steve Holden steve at holdenweb.com
Sat Jan 26 13:38:09 CET 2008
Terry Reedy wrote:
> "Guido van Rossum" <guido at python.org> wrote in message 
> news:ca471dc20801251132j7a758bc5uc076e859dd9f84b0 at mail.gmail.com...
> | Does no-one thinks it means round(f) either?
> 
> Not me.  Int should truncate, so trunc() not needed unless is does 
> something different.
> 
Like returning a value of the same type as the input? int(), being a 
call to a type, should never return a value of another type.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/

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