| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6b794b8 commit 6b7786b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -164,7 +164,7 @@ is correctly rounded.\n\ | |||
| 164 | 164 | \n"); | |
| 165 | 165 | ||
| 166 | 166 | PyDoc_STRVAR(doc_from_float, | |
| 167 | - "from_float($cls, f, /)\n--\n\n\ | ||
| 167 | + "from_float($type, f, /)\n--\n\n\ | ||
| 168 | 168 | Class method that converts a float to a decimal number, exactly.\n\ | |
| 169 | 169 | Since 0.1 is not exactly representable in binary floating point,\n\ | |
| 170 | 170 | Decimal.from_float(0.1) is not the same as Decimal('0.1').\n\ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments