[Python-checkins] r66774 - in python/trunk: Doc/whatsnew/2.2.rst Lib/test/test_datetime.py

andrew.kuchling python-checkins at python.org
Sat Oct 4 09:33:25 CEST 2008


Author: andrew.kuchling
Date: Fri Oct  3 18:42:52 2008
New Revision: 66774

Log:
Typo fix

Modified:
   python/trunk/Doc/whatsnew/2.2.rst
   python/trunk/Lib/test/test_datetime.py

Modified: python/trunk/Doc/whatsnew/2.2.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.2.rst	(original)
+++ python/trunk/Doc/whatsnew/2.2.rst	Fri Oct  3 18:42:52 2008
@@ -714,7 +714,7 @@
 presented with two integer arguments: it returns an integer result that's
 truncated down when there would be a fractional part.  For example, ``3/2`` is
 1, not 1.5, and ``(-1)/2`` is -1, not -0.5.  This means that the results of
-divison can vary unexpectedly depending on the type of the two operands and
+division can vary unexpectedly depending on the type of the two operands and
 because Python is dynamically typed, it can be difficult to determine the
 possible types of the operands.
 

Modified: python/trunk/Lib/test/test_datetime.py
==============================================================================
--- python/trunk/Lib/test/test_datetime.py	(original)
+++ python/trunk/Lib/test/test_datetime.py	Fri Oct  3 18:42:52 2008
@@ -253,7 +253,7 @@
         self.assertRaises(TypeError, lambda: a // x)
         self.assertRaises(TypeError, lambda: x // a)
 
-        # Divison of int by timedelta doesn't make sense.
+        # Division of int by timedelta doesn't make sense.
         # Division by zero doesn't make sense.
         for zero in 0, 0L:
             self.assertRaises(TypeError, lambda: zero // a)


More information about the Python-checkins mailing list