summaryrefslogtreecommitdiffstats
path: root/Lib/decimal.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-22 19:35:18 (GMT)
committerGeorg Brandl <georg@python.org>2005-08-22 19:35:18 (GMT)
commitf33d01d304c349a7f555779c7c99930f1203adb7 (patch)
treee13221ec9e4f3ad250155945963ca4f7785cf341 /Lib/decimal.py
parent7208af47f8b1a34330194709e55e4ef17560cf6a (diff)
downloadcpython-f33d01d304c349a7f555779c7c99930f1203adb7.zip
cpython-f33d01d304c349a7f555779c7c99930f1203adb7.tar.gz
cpython-f33d01d304c349a7f555779c7c99930f1203adb7.tar.bz2
bug [ 1266296 ] Mistakes in decimal.Context.subtract documentation
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 1e5b291..677d26b 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -2755,7 +2755,7 @@ class Context(object):
return a.sqrt(context=self)
def subtract(self, a, b):
- """Return the sum of the two operands.
+ """Return the difference between the two operands.
>>> ExtendedContext.subtract(Decimal('1.3'), Decimal('1.07'))
Decimal("0.23")