Skip to content

Commit d2fc782

Browse files
authored
import sys before we use it on line 9 (GH-828) (GH-833)
(cherry picked from commit 0579e81)
1 parent ceff32f commit d2fc782

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/idlelib/pyshell.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#! /usr/bin/env python3
22

3+
import sys
4+
35
try:
46
from tkinter import *
57
except ImportError:
@@ -25,7 +27,6 @@
2527
import re
2628
import socket
2729
import subprocess
28-
import sys
2930
import threading
3031
import time
3132
import tokenize

0 commit comments

Comments
 (0)