From: Stefan Krah Date: Fri, 2 May 2014 12:34:11 +0000 (+0200) Subject: Use $type instead of $cls in the signature specification. X-Git-Tag: v3.5.0a1~1752 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b7786bac2feed64b14344cdac9ea0ead24efd78;p=thirdparty%2FPython%2Fcpython.git Use $type instead of $cls in the signature specification. --- diff --git a/Modules/_decimal/docstrings.h b/Modules/_decimal/docstrings.h index 035ca9c2d2ee..71029a994bbe 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\