]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix role name.
authorGeorg Brandl <georg@python.org>
Sat, 3 Jan 2009 20:15:14 +0000 (20:15 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 3 Jan 2009 20:15:14 +0000 (20:15 +0000)
Doc/library/decimal.rst

index 7dc14451c02e29dedd2ba712b51fe3ae9ea8ff4a..8717ccf18202d2d7cd9cbb54c2414bb386ca0e71 100644 (file)
@@ -1033,7 +1033,7 @@ In addition to the three supplied contexts, new contexts can be created with the
    .. method:: create_decimal_from_float(f)
 
       Creates a new Decimal instance from a float *f* but rounding using *self*
-      as the context.  Unlike the :method:`Decimal.from_float` class method,
+      as the context.  Unlike the :meth:`Decimal.from_float` class method,
       the context precision, rounding method, flags, and traps are applied to
       the conversion.