diff options
author | Stefan Krah <skrah@bytereef.org> | 2014-05-02 14:34:11 +0200 |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2014-05-02 14:34:11 +0200 |
commit | 9d4d71210755e9f5672c1d8452623f1090c9a30a (patch) | |
tree | 4012e694e2bceb4e0ef40dda92b25d07e73f09e8 | |
parent | e15199764410e4b2c54312b09b17c3704cedb58f (diff) | |
download | cpython-9d4d71210755e9f5672c1d8452623f1090c9a30a.tar.gz |
Use $type instead of $cls in the signature specification.
-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 035ca9c2d2..71029a994b 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\ |