]> granicus.if.org Git - python/commitdiff
sys was already imported, remove second import
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 30 Dec 2002 23:36:02 +0000 (23:36 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 30 Dec 2002 23:36:02 +0000 (23:36 +0000)
Lib/codecs.py

index b377979e2ca582be4fae8d6e509da771865dea2b..1bf4c8d57aa05c89472e0d354673196e889730fa 100644 (file)
@@ -705,8 +705,6 @@ if _false:
 
 if __name__ == '__main__':
 
-    import sys
-
     # Make stdout translate Latin-1 output into UTF-8 output
     sys.stdout = EncodedFile(sys.stdout, 'latin-1', 'utf-8')