[Python-checkins] r53670 - python/trunk/Lib/decimal.py

raymond.hettinger python-checkins at python.org
Thu Feb 8 02:42:36 CET 2007


Author: raymond.hettinger
Date: Thu Feb  8 02:42:35 2007
New Revision: 53670

Modified:
   python/trunk/Lib/decimal.py
Log:
Fix docstring bug

Modified: python/trunk/Lib/decimal.py
==============================================================================
--- python/trunk/Lib/decimal.py	(original)
+++ python/trunk/Lib/decimal.py	Thu Feb  8 02:42:35 2007
@@ -487,7 +487,7 @@
     28
     >>> with localcontext():
     ...     ctx = getcontext()
-    ...     ctx.prec() += 2
+    ...     ctx.prec += 2
     ...     print ctx.prec
     ...
     30


More information about the Python-checkins mailing list