diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2007-08-11 04:20:51 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2007-08-11 04:20:51 (GMT) |
commit | 7378df78225e9dcd3da7831c81f52f2af36692fc (patch) | |
tree | 8a290a5e8e762cda5fd98fe74c91167dc454070c /Lib | |
parent | efdca3e071d4bf4d36c1b09f04547fbc3da83e62 (diff) | |
download | cpython-7378df78225e9dcd3da7831c81f52f2af36692fc.zip cpython-7378df78225e9dcd3da7831c81f52f2af36692fc.tar.gz cpython-7378df78225e9dcd3da7831c81f52f2af36692fc.tar.bz2 |
Fix what appears to be a very old bug. Tkinter in struni is more intolerant
of non-existant text widget 'marks', it seems.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/idlelib/PyShell.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 90c837c..bfd659c 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -961,6 +961,7 @@ class PyShell(OutputWindow): """ def begin(self): + self.text.mark_set("iomark", "insert") self.resetoutput() if use_subprocess: nosub = '' |