[Python-checkins] r64508 - python/trunk/Doc/library/fractions.rst
mark.dickinson
python-checkins at python.org
Tue Jun 24 17:35:14 CEST 2008
Author: mark.dickinson
Date: Tue Jun 24 17:35:14 2008
New Revision: 64508
Log:
Remove references to Py3k in __floor__, __ceil__ and __round__ documentation.
Modified:
python/trunk/Doc/library/fractions.rst
Modified: python/trunk/Doc/library/fractions.rst
==============================================================================
--- python/trunk/Doc/library/fractions.rst (original)
+++ python/trunk/Doc/library/fractions.rst Tue Jun 24 17:35:14 2008
@@ -65,14 +65,12 @@
.. 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 @@
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::
More information about the Python-checkins
mailing list