summaryrefslogtreecommitdiffstats
path: root/Lib/decimal.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/decimal.py')
-rw-r--r--Lib/decimal.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py
index dc44170..aee558a 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -477,11 +477,7 @@ def localcontext(ctx=None):
# General Decimal Arithmetic Specification
return +s # Convert result to normal context
- """
- # The string below can't be included in the docstring until Python 2.6
- # as the doctest module doesn't understand __future__ statements
- """
- >>> from __future__ import with_statement
+ >>> setcontext(DefaultContext)
>>> print getcontext().prec
28
>>> with localcontext():