From: Tim Peters Date: Tue, 29 May 2001 06:06:54 +0000 (+0000) Subject: Whitespace normalization. X-Git-Tag: v2.2a3~1660 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3a2ab1ab69b1899964066b682d721d172c681d20;p=thirdparty%2FPython%2Fcpython.git Whitespace normalization. --- diff --git a/Lib/codecs.py b/Lib/codecs.py index bdc8d029da43..b3c2f71efd6a 100644 --- a/Lib/codecs.py +++ b/Lib/codecs.py @@ -574,7 +574,7 @@ def make_encoding_map(decoding_map): else: m[v] = None return m - + ### Tests if __name__ == '__main__': diff --git a/Lib/pty.py b/Lib/pty.py index c9b8f0a397e7..a2f21c9bf6ef 100644 --- a/Lib/pty.py +++ b/Lib/pty.py @@ -16,7 +16,7 @@ import os # ImportError then. But since tty *does* exist across platforms, that # leaves a damaged module object for tty in sys.modules, and the import # of tty here then appears to work despite that the tty imported is junk. -import termios +import termios del termios import tty diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index d2af276e3424..263c0d19176c 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -14,4 +14,3 @@ file_url = "file://%s" % urllib2.__file__ f = urllib2.urlopen(file_url) buf = f.read() f.close() -