[Python-checkins] r53669 - python/branches/release25-maint/Lib/decimal.py

raymond.hettinger python-checkins at python.org
Thu Feb 8 02:37:18 CET 2007


Author: raymond.hettinger
Date: Thu Feb  8 02:37:18 2007
New Revision: 53669

Modified:
   python/branches/release25-maint/Lib/decimal.py
Log:
Fix docstring bug

Modified: python/branches/release25-maint/Lib/decimal.py
==============================================================================
--- python/branches/release25-maint/Lib/decimal.py	(original)
+++ python/branches/release25-maint/Lib/decimal.py	Thu Feb  8 02:37:18 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