
Jan. 26, 2008
4:38 a.m.
Terry Reedy wrote:
"Guido van Rossum" <guido@python.org> wrote in message news:ca471dc20801251132j7a758bc5uc076e859dd9f84b0@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/