From 495df4716fce4156c1eb110f9342297164eecbb6 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 8 Feb 2007 01:42:35 +0000 Subject: Fix docstring bug --- Lib/decimal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/decimal.py b/Lib/decimal.py index 6dc7398..2b9bc75 100644 --- a/Lib/decimal.py +++ b/Lib/decimal.py @@ -487,7 +487,7 @@ def localcontext(ctx=None): 28 >>> with localcontext(): ... ctx = getcontext() - ... ctx.prec() += 2 + ... ctx.prec += 2 ... print ctx.prec ... 30 -- cgit v0.12