[Python-checkins] r51292 - in python/trunk/Lib: Cookie.py test/test_index.py

tim.peters python-checkins at python.org
Tue Aug 15 02:25:06 CEST 2006


Author: tim.peters
Date: Tue Aug 15 02:25:04 2006
New Revision: 51292

Modified:
   python/trunk/Lib/Cookie.py
   python/trunk/Lib/test/test_index.py
Log:
Whitespace normalization.


Modified: python/trunk/Lib/Cookie.py
==============================================================================
--- python/trunk/Lib/Cookie.py	(original)
+++ python/trunk/Lib/Cookie.py	Tue Aug 15 02:25:04 2006
@@ -304,7 +304,7 @@
     '\372' : '\\372',  '\373' : '\\373',  '\374' : '\\374',
     '\375' : '\\375',  '\376' : '\\376',  '\377' : '\\377'
     }
-    
+
 _idmap = ''.join(chr(x) for x in xrange(256))
 
 def _quote(str, LegalChars=_LegalChars,

Modified: python/trunk/Lib/test/test_index.py
==============================================================================
--- python/trunk/Lib/test/test_index.py	(original)
+++ python/trunk/Lib/test/test_index.py	Tue Aug 15 02:25:04 2006
@@ -29,7 +29,7 @@
         self.n.ind = 2
         self.assertEqual(operator.index(self.o), -2)
         self.assertEqual(operator.index(self.n), 2)
-        
+
     def test_slice(self):
         self.o.ind = 1
         self.n.ind = 2
@@ -53,7 +53,7 @@
         self.failUnlessRaises(TypeError, operator.index, TrapLong())
         self.failUnless(slice(TrapInt()).indices(0)==(0,0,1))
         self.failUnlessRaises(TypeError, slice(TrapLong()).indices, 0)
-        
+
     def test_error(self):
         self.o.ind = 'dumb'
         self.n.ind = 'bad'


More information about the Python-checkins mailing list