summaryrefslogtreecommitdiff
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-09-07 01:58:43 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2015-09-07 01:58:43 -0400
commit5dc29f2614b1e3c818e3200ba54c747cb34cc8ab (patch)
tree9c587b392b4c19c34637746e70eec10c0a75c0c2 /Lib/idlelib/PyShell.py
parent45fd95155fb98021dad3c88db15ebe4e939577bf (diff)
parentffcff22ade25f8ef701bd4d7a1e72e1337abbd3a (diff)
downloadcpython-git-5dc29f2614b1e3c818e3200ba54c747cb34cc8ab.tar.gz
Merge with 3.5
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rwxr-xr-xLib/idlelib/PyShell.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index 5854cf91a4..90fc689e9d 100755
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -1043,6 +1043,7 @@ class PyShell(OutputWindow):
self.write("Python %s on %s\n%s\n%s" %
(sys.version, sys.platform, self.COPYRIGHT, nosub))
+ self.text.focus_force()
self.showprompt()
import tkinter
tkinter._default_root = None # 03Jan04 KBK What's this?