From: Raymond Hettinger Date: Thu, 14 Feb 2008 19:02:39 +0000 (+0000) Subject: Fix markup X-Git-Tag: v2.6a1~167 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5111c522e7ae21ad3342f14be4a5ff46230b46b0;p=thirdparty%2FPython%2Fcpython.git Fix markup --- diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst index 18ade4059bab..1fcbcf914aa5 100644 --- a/Doc/library/decimal.rst +++ b/Doc/library/decimal.rst @@ -1560,7 +1560,7 @@ throughout an application? A. Some operations like addition, subtraction, and multiplication by an integer will automatically preserve fixed point. Others operations, like division and non-integer multiplication, will change the number of decimal places and need to -be followed-up with a :meth:`quantize` step. +be followed-up with a :meth:`quantize` step:: >>> a = Decimal('102.72') # Initial fixed-point values >>> b = Decimal('3.17')