[Python-checkins] r59993 - python/trunk/Doc/whatsnew/2.6.rst
Nick Coghlan
ncoghlan at gmail.com
Wed Jan 16 23:02:57 CET 2008
andrew.kuchling wrote:
> +The PEP slightly redefines the existing built-ins :func:`math.floor`,
> +:func:`math.ceil`, :func:`round`, and adds a new one, :func:`trunc`. All of them
> +take a :class:`Real` value and return an :class:`Integral`.
While that's true of the Py3k version, I don't think it got backported
that way - I'm pretty sure the 2.6 version leaves the return types of
these functions unchanged.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
More information about the Python-checkins
mailing list