diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2017-03-27 02:17:39 (GMT) |
---|---|---|
committer | terryjreedy <tjreedy@udel.edu> | 2017-03-27 02:17:39 (GMT) |
commit | 0579e81f30d00da562f021760d5b6a9c35186520 (patch) | |
tree | 039c766ec2cdea74bd92ffa2db49ebb117434e75 /Lib | |
parent | 5fb278fd58688177a113755e1996cd4c9706477c (diff) | |
download | cpython-0579e81f30d00da562f021760d5b6a9c35186520.zip cpython-0579e81f30d00da562f021760d5b6a9c35186520.tar.gz cpython-0579e81f30d00da562f021760d5b6a9c35186520.tar.bz2 |
import sys before we use it on line 9 (#828)
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/idlelib/pyshell.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py index f3ee391..dd6c997 100755 --- a/Lib/idlelib/pyshell.py +++ b/Lib/idlelib/pyshell.py @@ -1,5 +1,7 @@ #! /usr/bin/env python3 +import sys + try: from tkinter import * except ImportError: @@ -25,7 +27,6 @@ from platform import python_version, system import re import socket import subprocess -import sys import threading import time import tokenize |