[pypy-svn] r14626 - in pypy/dist/pypy/objspace/std: . test

tismer at codespeak.net tismer at codespeak.net
Wed Jul 13 17:54:33 CEST 2005


Author: tismer
Date: Wed Jul 13 17:54:32 2005
New Revision: 14626

Modified:
   pypy/dist/pypy/objspace/std/floatobject.py
   pypy/dist/pypy/objspace/std/test/test_strutil.py
Log:
small cosmetic cleanup

Modified: pypy/dist/pypy/objspace/std/floatobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/floatobject.py	(original)
+++ pypy/dist/pypy/objspace/std/floatobject.py	Wed Jul 13 17:54:32 2005
@@ -227,7 +227,8 @@
 
 def pow__Float_Float_ANY(space, w_float1, w_float2, thirdArg):
     if not space.is_w(thirdArg, space.w_None):
-        raise FailedToImplement(space.w_TypeError, space.wrap("pow() 3rd argument not allowed unless all arguments are integers"))
+        raise FailedToImplement(space.w_TypeError, space.wrap(
+            "pow() 3rd argument not allowed unless all arguments are integers"))
     x = w_float1.floatval
     y = w_float2.floatval
     try:

Modified: pypy/dist/pypy/objspace/std/test/test_strutil.py
==============================================================================
--- pypy/dist/pypy/objspace/std/test/test_strutil.py	(original)
+++ pypy/dist/pypy/objspace/std/test/test_strutil.py	Wed Jul 13 17:54:32 2005
@@ -94,7 +94,7 @@
                str(sys.maxint*17))
 
     def test_string_to_int_base_error(self):
-        space = self.space        
+        space = self.space
         cases = [('1', 1),
                  ('1', 37),
                  ('a', 0),



More information about the Pypy-commit mailing list