summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-09-07 05:58:29 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-09-07 05:58:29 (GMT)
commitffcff22ade25f8ef701bd4d7a1e72e1337abbd3a (patch)
tree880f7d4d48de4e680f506327a039f34910c9a316 /Lib/idlelib/PyShell.py
parenteeeff706e51fa51ce6227f32e4c00025344ee7df (diff)
parentb41eadab436ce08724f2373586bef52b13839014 (diff)
downloadcpython-ffcff22ade25f8ef701bd4d7a1e72e1337abbd3a.zip
cpython-ffcff22ade25f8ef701bd4d7a1e72e1337abbd3a.tar.gz
cpython-ffcff22ade25f8ef701bd4d7a1e72e1337abbd3a.tar.bz2
Merge with 3.4
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 5854cf9..90fc689 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?