]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Use $type instead of $cls in the signature specification.
authorStefan Krah <skrah@bytereef.org>
Fri, 2 May 2014 12:34:11 +0000 (14:34 +0200)
committerStefan Krah <skrah@bytereef.org>
Fri, 2 May 2014 12:34:11 +0000 (14:34 +0200)
Modules/_decimal/docstrings.h

index 035ca9c2d2eeee88513af3b54e49d44baf58cf71..71029a994bbeca3d46aa79a4b4d1220b3d6ca8cd 100644 (file)
@@ -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\