]> granicus.if.org Git - python/commitdiff
Whitespace normalization.
authorTim Peters <tim.peters@gmail.com>
Tue, 4 Sep 2001 06:37:28 +0000 (06:37 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 4 Sep 2001 06:37:28 +0000 (06:37 +0000)
Lib/rfc822.py
Lib/test/test_long.py
Lib/test/test_pow.py
Lib/test/test_urllib2.py
Tools/scripts/fixdiv.py

index e69c4cbcde2d2371094218530769751353d514a8..b3f7fb2274f79852a481bd6c9e5f16b830ec1e76 100644 (file)
@@ -967,7 +967,7 @@ def formatdate(timeval=None):
             timeval[2],
             ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
              "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"][timeval[1]-1],
-                               timeval[0], timeval[3], timeval[4], timeval[5])
+                                timeval[0], timeval[3], timeval[4], timeval[5])
 
 
 # When used as script, run a small test program.
index ac345a661f9b104052d98d7b0b6bd9abefc5b42e..e123638465c648cf1e03a1a2c97713de53ba3e7b 100644 (file)
@@ -357,7 +357,7 @@ def test_float_overflow():
                  "math.sqrt(huge)", "math.sqrt(mhuge)", # should do better
                  "math.log10(huge)", "math.log10(mhuge)", # should do better
                  "math.floor(huge)", "math.floor(mhuge)"]:
-                 
+
         try:
             eval(test, namespace)
         except OverflowError:
index b315bd51118950c9da3feed94a9338fc1e15072b..64c58900504420ebad018b8b81db13c917cbfe5d 100644 (file)
@@ -118,4 +118,3 @@ for i in range(-10, 11):
                 o = pow(long(i),j) % k
                 n = pow(long(i),j,k)
                 if o != n: print 'Integer mismatch:', i,j,k
-
index 5b4c68c296fdddc4b9aa975c07ffc2e6a83e238b..129bf2c27ef3fbeee94ffcd682c7fc99455f389f 100644 (file)
@@ -18,7 +18,7 @@ if fname[1:2] == ":":
 # And more hacking to get it to work on MacOS. This assumes
 # urllib.pathname2url works, unfortunately...
 if os.name == 'mac':
-       fname = '/' + fname.replace(':', '/')
+    fname = '/' + fname.replace(':', '/')
 file_url = "file://%s" % fname
 f = urllib2.urlopen(file_url)
 
index c6396d88a12253e12228b0be9c97a76d519a0dfd..643a58a37647668ca6914034192928b3151e659b 100755 (executable)
@@ -230,10 +230,10 @@ def process(file, list):
                     print "*** Bad warning for line %d:" % row, bad
                     print "*", line
                 elif intlong and not floatcomplex:
-                        print "%dc%d" % (row, row)
-                        print "<", line
-                        print "---"
-                        print ">", line[:col] + "/" + line[col:]
+                    print "%dc%d" % (row, row)
+                    print "<", line
+                    print "---"
+                    print ">", line[:col] + "/" + line[col:]
                 elif floatcomplex and not intlong:
                     print "True division / operator at line %d:" % row
                     print "=", line