summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2007-02-08 01:42:35 (GMT)
committerRaymond Hettinger <python@rcn.com>2007-02-08 01:42:35 (GMT)
commit495df4716fce4156c1eb110f9342297164eecbb6 (patch)
tree527cea4b870edc144f7c4e22c9da303884bc374b
parent0e7a632f57ed26079af1f388626311f1b9c1227c (diff)
downloadcpython-495df4716fce4156c1eb110f9342297164eecbb6.zip
cpython-495df4716fce4156c1eb110f9342297164eecbb6.tar.gz
cpython-495df4716fce4156c1eb110f9342297164eecbb6.tar.bz2
Fix docstring bug
-rw-r--r--Lib/decimal.py2
1 files changed, 1 insertions, 1 deletions
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