mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
sys was already imported, remove second import
This commit is contained in:
parent
a872595f31
commit
6ec0a8ab93
1 changed files with 0 additions and 2 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue