]> granicus.if.org Git - python/commitdiff
Whitespace normalization.
authorTim Peters <tim.peters@gmail.com>
Wed, 28 Feb 2001 08:26:44 +0000 (08:26 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 28 Feb 2001 08:26:44 +0000 (08:26 +0000)
Lib/__future__.py
Lib/inspect.py
Lib/pydoc.py
Lib/test/test_global.py
Lib/urllib.py
Lib/webbrowser.py

index c50b810a7f5ec90deddf5c6d89754f43e070de00..2c263b7872e204de014ebbee4dda2f845766c794 100644 (file)
@@ -24,18 +24,18 @@ OptionalRelease records the first release in which
 
 was accepted.
 
-In the case of MandatoryReleases that have not yet occurred, 
-MandatoryRelease predicts the release in which the feature will become part 
+In the case of MandatoryReleases that have not yet occurred,
+MandatoryRelease predicts the release in which the feature will become part
 of the language.
 
-Else MandatoryRelease records when the feature became part of the language; 
+Else MandatoryRelease records when the feature became part of the language;
 in releases at or after that, modules no longer need
 
     from __future__ import FeatureName
 
 to use the feature in question, but may continue to use such imports.
 
-MandatoryRelease may also be None, meaning that a planned feature got 
+MandatoryRelease may also be None, meaning that a planned feature got
 dropped.
 
 No line is ever to be deleted from this file.
index 408e454a8a1aede96626281e9bdf6311669bf1af..3b1061e8f9198a6d70e145a4a55c527235279f81 100644 (file)
@@ -612,5 +612,5 @@ def stack(context=1):
     return getouterframes(currentframe().f_back, context)
 
 def trace(context=1):
-    """Return a list of records for the stack below the current exception.""" 
+    """Return a list of records for the stack below the current exception."""
     return getinnerframes(sys.exc_traceback, context)
index c5c9d1866f15358d269aef3e2fabbce2e66c72de..701316e3942013c4ee3d3883544cef05ec0d7550 100755 (executable)
@@ -445,7 +445,7 @@ class HTMLDoc(Doc):
                         modpkgs.append((modname, name, 0, 0))
                         modnames.append(modname)
                     elif ispackage(path):
-                            modpkgs.append((file, name, 1, 0))
+                        modpkgs.append((file, name, 1, 0))
             modpkgs.sort()
             contents = self.multicolumn(modpkgs, self.modpkglink)
             result = result + self.bigsection(
@@ -576,7 +576,7 @@ class HTMLDoc(Doc):
             if ispackage(path): found(file, 1)
         for file in files:
             path = os.path.join(dir, file)
-            if file[:1] != '_' and os.path.isfile(path): 
+            if file[:1] != '_' and os.path.isfile(path):
                 modname = modulename(file)
                 if modname: found(modname, 0)
 
index 7670ad1dedfb841d6d523330c2b802e0ef2d8e35..66f2a6e0f62fc4743755ff02e838730782975efe 100644 (file)
@@ -37,4 +37,3 @@ def wrong3():
     global x
 """
 compile_and_catch_warning(prog_text_3)
-
index 9a2c0baebbd56e749cd9c8726be4a991f869fe0f..00129c9a8d87d84898b838480cd70f8305d54ad1 100644 (file)
@@ -561,17 +561,17 @@ class FancyURLopener(URLopener):
         See this URL for a description of the basic authentication scheme:
         http://www.ics.uci.edu/pub/ietf/http/draft-ietf-http-v10-spec-00.txt"""
         if not headers.has_key('www-authenticate'):
-            URLopener.http_error_default(self, url, fp, 
+            URLopener.http_error_default(self, url, fp,
                                          errmsg, headers)
         stuff = headers['www-authenticate']
         import re
         match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff)
         if not match:
-            URLopener.http_error_default(self, url, fp, 
+            URLopener.http_error_default(self, url, fp,
                                          errcode, errmsg, headers)
         scheme, realm = match.groups()
         if scheme.lower() != 'basic':
-            URLopener.http_error_default(self, url, fp, 
+            URLopener.http_error_default(self, url, fp,
                                          errcode, errmsg, headers)
         name = 'retry_' + self.type + '_basic_auth'
         if data is None:
index 9dbb3f01c30e6eb2f6375f3dd6b9a099dd26a5dc..5008a0b6aebbdfe880bc8435354c3a3dd55ee967 100644 (file)
@@ -154,7 +154,7 @@ if os.environ.get("TERM") or os.environ.get("DISPLAY"):
 
                 def open(self, url, new=1, autoraise=1):
                     # XXX Currently I know no way to prevent KFM from
-                    # opening a new win. 
+                    # opening a new win.
                     self._remote("openURL %s" % url)
 
                 # Deprecated.  May be removed in 2.1.