mirror of https://github.com/python/cpython.git
sys was already imported, remove second import
This commit is contained in:
parent
a872595f31
commit
6ec0a8ab93
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue