Kaydet (Commit) 6b7786ba authored tarafından Stefan Krah's avatar Stefan Krah

Use $type instead of $cls in the signature specification.

üst 6b794b8b
...@@ -164,7 +164,7 @@ is correctly rounded.\n\ ...@@ -164,7 +164,7 @@ is correctly rounded.\n\
\n"); \n");
PyDoc_STRVAR(doc_from_float, PyDoc_STRVAR(doc_from_float,
"from_float($cls, f, /)\n--\n\n\ "from_float($type, f, /)\n--\n\n\
Class method that converts a float to a decimal number, exactly.\n\ Class method that converts a float to a decimal number, exactly.\n\
Since 0.1 is not exactly representable in binary floating point,\n\ Since 0.1 is not exactly representable in binary floating point,\n\
Decimal.from_float(0.1) is not the same as Decimal('0.1').\n\ Decimal.from_float(0.1) is not the same as Decimal('0.1').\n\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment