[Python-Dev] PEP 327: Decimal data type (original) (raw)

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.fromfloat(value2, [decimaldigits]) where value1 can be int, long, string, tuple or Decimal, value1 can be only float, and decimaldigits 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