From 6ec0a8ab93d4a77c118c391c2e141e27c0018e27 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 30 Dec 2002 23:36:02 +0000 Subject: [PATCH] sys was already imported, remove second import --- Lib/codecs.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Lib/codecs.py b/Lib/codecs.py index b377979e2ca..1bf4c8d57aa 100644 --- a/Lib/codecs.py +++ b/Lib/codecs.py @@ -705,8 +705,6 @@ def make_encoding_map(decoding_map): if __name__ == '__main__': - import sys - # Make stdout translate Latin-1 output into UTF-8 output sys.stdout = EncodedFile(sys.stdout, 'latin-1', 'utf-8')