Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ec0a8a

Browse files
committed
sys was already imported, remove second import
1 parent a872595 commit 6ec0a8a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/codecs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,6 @@ def make_encoding_map(decoding_map):
705705

706706
if __name__ == '__main__':
707707

708-
import sys
709-
710708
# Make stdout translate Latin-1 output into UTF-8 output
711709
sys.stdout = EncodedFile(sys.stdout, 'latin-1', 'utf-8')
712710

0 commit comments

Comments
 (0)