[Python-checkins] cpython: Use $type instead of $cls in the signature specification.
stefan.krah
python-checkins at python.org
Fri May 2 14:34:53 CEST 2014
http://hg.python.org/cpython/rev/663b54eb0184
changeset: 90535:663b54eb0184
user: Stefan Krah <skrah at bytereef.org>
date: Fri May 02 14:34:11 2014 +0200
summary:
Use $type instead of $cls in the signature specification.
files:
Modules/_decimal/docstrings.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_decimal/docstrings.h b/Modules/_decimal/docstrings.h
--- a/Modules/_decimal/docstrings.h
+++ b/Modules/_decimal/docstrings.h
@@ -164,7 +164,7 @@
\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\
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list