summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-03 20:15:14 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-03 20:15:14 (GMT)
commita24067e8b33ef7c7bf57de6264dd1a10f0a970d4 (patch)
tree9f838ba47de62f72369259e99e0398a7479b5a50 /Doc/library
parentaa5bb329fd16f30ea39202811290aad27a98412f (diff)
downloadcpython-a24067e8b33ef7c7bf57de6264dd1a10f0a970d4.zip
cpython-a24067e8b33ef7c7bf57de6264dd1a10f0a970d4.tar.gz
cpython-a24067e8b33ef7c7bf57de6264dd1a10f0a970d4.tar.bz2
Fix role name.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/decimal.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 7dc1445..8717ccf 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -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.