[Python-checkins] r68187 - python/branches/release26-maint/Doc/library/decimal.rst

raymond.hettinger python-checkins at python.org
Sat Jan 3 08:50:46 CET 2009


Author: raymond.hettinger
Date: Sat Jan  3 08:50:46 2009
New Revision: 68187

Log:
Lost one line on a decimal recipe.

Modified:
   python/branches/release26-maint/Doc/library/decimal.rst

Modified: python/branches/release26-maint/Doc/library/decimal.rst
==============================================================================
--- python/branches/release26-maint/Doc/library/decimal.rst	(original)
+++ python/branches/release26-maint/Doc/library/decimal.rst	Sat Jan  3 08:50:46 2009
@@ -1884,6 +1884,7 @@
         ctx = Context(prec=60)
         result = ctx.divide(numerator, denominator)
         while ctx.flags[Inexact]:
+            ctx.flags[Inexact] = False
             ctx.prec *= 2
             result = ctx.divide(numerator, denominator)
         return result


More information about the Python-checkins mailing list