Commit 6b7786ba authored by Stefan Krah's avatar Stefan Krah

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

parent 6b794b8b
......@@ -164,7 +164,7 @@ is correctly rounded.\n\
\n");
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\
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\
......
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