summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-10-30 05:56:40 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-10-30 05:56:40 (GMT)
commit1633a2e3452b40d0e9bb1f15ab16cd6b90f15a19 (patch)
tree0575e38da29c8d788fe38568886b11cb19d6eb99
parent003047a5f2e1566f70dc2f001c0f43e8059c02e3 (diff)
downloadcpython-1633a2e3452b40d0e9bb1f15ab16cd6b90f15a19.zip
cpython-1633a2e3452b40d0e9bb1f15ab16cd6b90f15a19.tar.gz
cpython-1633a2e3452b40d0e9bb1f15ab16cd6b90f15a19.tar.bz2
Whitespace normalization.
-rw-r--r--Lib/imaplib.py2
-rw-r--r--Lib/os.py4
-rwxr-xr-xLib/test/regrtest.py2
-rw-r--r--Lib/test/test_mimetypes.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index 813b67c..cbcf107 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -226,7 +226,7 @@ class IMAP4:
while bytes > 0:
sent = self.sock.send(data)
if sent == bytes:
- break # avoid copy
+ break # avoid copy
data = data[sent:]
bytes = bytes - sent
diff --git a/Lib/os.py b/Lib/os.py
index e13c2f9..bf31ddc 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -362,7 +362,7 @@ else:
import UserDict
# Fake unsetenv() for Windows
- # not sure about os2 and dos here but
+ # not sure about os2 and dos here but
# I'm guessing they are the same.
if name in ('os2', 'nt', 'dos'):
@@ -421,7 +421,7 @@ else:
def __delitem__(self, key):
unsetenv(key)
del self.data[key]
-
+
environ = _Environ(environ)
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index b2bb7ac..329800c 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -38,7 +38,7 @@ only the following are defined:
curses - Tests that use curses and will modify the terminal's
state and output modes.
-
+
largefile - It is okay to run some test that may create huge files. These
tests can take a long time and may consume >2GB of disk space
temporarily.
diff --git a/Lib/test/test_mimetypes.py b/Lib/test/test_mimetypes.py
index bca5766..d0a32a9 100644
--- a/Lib/test/test_mimetypes.py
+++ b/Lib/test/test_mimetypes.py
@@ -39,7 +39,7 @@ class MimeTypesTestCase(unittest.TestCase):
".pyunit")
def test_non_standard_types(self):
- # First try strict
+ # First try strict
self.assertEqual(self.db.guess_type('foo.xul', strict=1),
(None, None))
self.assertEqual(self.db.guess_extension('image/jpg', strict=1),