[Python-checkins] python/dist/src/Lib decimal.py, 1.31.2.4, 1.31.2.5

birkenfeld@users.sourceforge.net birkenfeld at users.sourceforge.net
Mon Aug 22 21:35:36 CEST 2005


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5243/Lib

Modified Files:
      Tag: release24-maint
	decimal.py 
Log Message:
backport 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.31.2.4
retrieving revision 1.31.2.5
diff -u -d -r1.31.2.4 -r1.31.2.5
--- decimal.py	12 Jun 2005 18:23:01 -0000	1.31.2.4
+++ decimal.py	22 Aug 2005 19:35:24 -0000	1.31.2.5
@@ -2754,7 +2754,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