From cab7e56e847a0d3726604298c546f2a24138689b Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Tue, 24 Jun 2008 15:35:14 +0000 Subject: [PATCH] Remove references to Py3k in __floor__, __ceil__ and __round__ documentation. --- Doc/library/fractions.rst | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst index e7bd9c5d8e..ceca9f5542 100644 --- a/Doc/library/fractions.rst +++ b/Doc/library/fractions.rst @@ -65,14 +65,12 @@ Fraction number class. .. method:: __floor__() - Returns the greatest :class:`int` ``<= self``. Will be accessible through - :func:`math.floor` in Py3k. + Returns the greatest :class:`int` ``<= self``. .. method:: __ceil__() - Returns the least :class:`int` ``>= self``. Will be accessible through - :func:`math.ceil` in Py3k. + Returns the least :class:`int` ``>= self``. .. method:: __round__() @@ -81,8 +79,7 @@ Fraction number class. The first version returns the nearest :class:`int` to ``self``, rounding half to even. The second version rounds ``self`` to the nearest multiple of ``Fraction(1, 10**ndigits)`` (logically, if ``ndigits`` is negative), - again rounding half toward even. Will be accessible through :func:`round` - in Py3k. + again rounding half toward even. .. seealso:: -- 2.50.0