mirror of
https://github.com/python/cpython.git
synced 2025-09-30 20:31:52 +00:00
import sys before we use it on line 9 (GH-828) (GH-833)
(cherry picked from commit 0579e81f30
)
This commit is contained in:
parent
ceff32fb83
commit
d2fc782410
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
|
import sys
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from tkinter import *
|
from tkinter import *
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
@ -25,7 +27,6 @@ from platform import python_version, system
|
||||||
import re
|
import re
|
||||||
import socket
|
import socket
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
import tokenize
|
import tokenize
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue