summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/codecs.py2
-rw-r--r--Lib/pty.py2
-rw-r--r--Lib/test/test_urllib2.py1
3 files changed, 2 insertions, 3 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py
index bdc8d02..b3c2f71 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 c9b8f0a..a2f21c9 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 d2af276..263c0d1 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()
-