Closes #10650: Deprecate the watchexp parameter of Decimal.quantize().

This commit is contained in:
Stefan Krah 2012-08-30 12:33:55 +02:00
parent 9ecae7a437
commit af3f3a7f00
3 changed files with 12 additions and 0 deletions

View file

@ -737,6 +737,11 @@ Decimal objects
resulting exponent is greater than :attr:`Emax` or less than
:attr:`Etiny`.
.. deprecated:: 3.3
*watchexp* is an implementation detail from the pure Python version
and is not present in the C version. It will be removed in version
3.4, where it defaults to ``True``.
.. method:: radix()
Return ``Decimal(10)``, the radix (base) in which the :class:`Decimal`

View file

@ -1190,6 +1190,10 @@ API changes
changed to match the order displayed by :func:`repr`.
* The ``watchexp`` parameter in the :meth:`~decimal.Decimal.quantize` method
is deprecated.
ftplib
------