diff options
author | Stefan Krah <skrah@bytereef.org> | 2014-05-02 12:34:11 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2014-05-02 12:34:11 (GMT) |
commit | 6b7786bac2feed64b14344cdac9ea0ead24efd78 (patch) | |
tree | c9bdc32c0419b760a11423c2541444f2a342c107 /Modules/_decimal/docstrings.h | |
parent | 6b794b8b590d1fb4fab1c3311de527baf55abe4e (diff) | |
download | cpython-6b7786bac2feed64b14344cdac9ea0ead24efd78.zip cpython-6b7786bac2feed64b14344cdac9ea0ead24efd78.tar.gz cpython-6b7786bac2feed64b14344cdac9ea0ead24efd78.tar.bz2 |
Use $type instead of $cls in the signature specification.
Diffstat (limited to 'Modules/_decimal/docstrings.h')
-rw-r--r-- | Modules/_decimal/docstrings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_decimal/docstrings.h b/Modules/_decimal/docstrings.h index 035ca9c..71029a9 100644 --- a/Modules/_decimal/docstrings.h +++ b/Modules/_decimal/docstrings.h @@ -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\ |