[Python-checkins] python/dist/src/Lib decimal.py,1.38,1.39
birkenfeld@users.sourceforge.net
birkenfeld at users.sourceforge.net
Mon Aug 22 21:35:29 CEST 2005
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5118/Lib
Modified Files:
decimal.py
Log Message:
bug [ 1266296 ] Mistakes in decimal.Context.subtract documentation
Index: decimal.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/decimal.py,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- decimal.py 20 Jun 2005 09:49:42 -0000 1.38
+++ decimal.py 22 Aug 2005 19:35:17 -0000 1.39
@@ -2755,7 +2755,7 @@
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")
More information about the Python-checkins
mailing list