summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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),