summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-06-24 15:35:14 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-06-24 15:35:14 (GMT)
commitcab7e56e847a0d3726604298c546f2a24138689b (patch)
tree4e7718719c0b208de91b7c26b52643c74ee64329
parent5dce7e9a83346ca24270587f7bedd59940cd948f (diff)
downloadcpython-cab7e56e847a0d3726604298c546f2a24138689b.zip
cpython-cab7e56e847a0d3726604298c546f2a24138689b.tar.gz
cpython-cab7e56e847a0d3726604298c546f2a24138689b.tar.bz2
Remove references to Py3k in __floor__, __ceil__ and __round__ documentation.
-rw-r--r--Doc/library/fractions.rst9
1 files changed, 3 insertions, 6 deletions
diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst
index e7bd9c5..ceca9f5 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::