summaryrefslogtreecommitdiffstats
path: root/Doc/library/decimal.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-17 15:07:14 (GMT)
committerGeorg Brandl <georg@python.org>2010-08-17 15:07:14 (GMT)
commit67b21b7547feee634bbecafeb88606ff350c0d3c (patch)
treebd493e5b10f9cead75ed145def9e0098b53188ab /Doc/library/decimal.rst
parent9e25701e87936ef61c348b5da6f9b580a52bab19 (diff)
downloadcpython-67b21b7547feee634bbecafeb88606ff350c0d3c.zip
cpython-67b21b7547feee634bbecafeb88606ff350c0d3c.tar.gz
cpython-67b21b7547feee634bbecafeb88606ff350c0d3c.tar.bz2
Consistency check for versionadded/changed directives.
Diffstat (limited to 'Doc/library/decimal.rst')
-rw-r--r--Doc/library/decimal.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index bc495ae..e82929c 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -354,7 +354,8 @@ Decimal objects
Once constructed, :class:`Decimal` objects are immutable.
.. versionchanged:: 3.2
- The argument to the constructor is now permitted to be a :class:`float` instance.
+ The argument to the constructor is now permitted to be a :class:`float`
+ instance.
Decimal floating point objects share many properties with the other built-in
numeric types such as :class:`float` and :class:`int`. All of the usual math
@@ -372,8 +373,8 @@ Decimal objects
when doing equality comparisons between numbers of different types.
.. versionchanged:: 3.2
- Mixed-type comparisons between :class:`Decimal` instances and
- other numeric types are now fully supported.
+ Mixed-type comparisons between :class:`Decimal` instances and other
+ numeric types are now fully supported.
In addition to the standard numeric properties, decimal floating point
objects also have a number of specialized methods:
@@ -1007,7 +1008,6 @@ In addition to the three supplied contexts, new contexts can be created with the
value for subnormal results. When underflow occurs, the exponent is set
to :const:`Etiny`.
-
.. method:: Etop()
Returns a value equal to ``Emax - prec + 1``.