[Python-Dev] PEP 327: Decimal data type
Aahz
aahz at pythoncraft.com
Fri Apr 2 15:33:17 EST 2004
On Wed, Mar 31, 2004, Batista, Facundo wrote:
>
> This PEP is ready for your review.
Excellent work! Only one nitpick:
> Syntax for All Cases
> ''''''''''''''''''''
>
> ::
>
> Decimal(value1)
> Decimal.from_float(value2, [decimal_digits])
>
> where ``value1`` can be int, long, string, tuple or Decimal,
> ``value1`` can be only float, and ``decimal_digits`` is an optional
> int.
You mean value2 in the second case, right?
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"usenet imitates usenet" --Darkhawk
More information about the Python-Dev
mailing list