summaryrefslogtreecommitdiff
path: root/Lib/decimal.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2007-02-08 01:37:18 +0000
committerRaymond Hettinger <python@rcn.com>2007-02-08 01:37:18 +0000
commit0bafda4546c583eeb5a2103d185bde334331378b (patch)
tree0bd188a223c7ceb1f6b545e122eeb673dcc5b924 /Lib/decimal.py
parentfdf7bf83057a1e008075e2034f4f33aa263b3c79 (diff)
downloadcpython-git-0bafda4546c583eeb5a2103d185bde334331378b.tar.gz
Fix docstring bug
Diffstat (limited to 'Lib/decimal.py')
-rw-r--r--Lib/decimal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py
index 6dc7398d60..2b9bc75a35 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