mirror of
https://github.com/python/cpython.git
synced 2025-11-27 13:45:25 +00:00
Fix what appears to be a very old bug. Tkinter in struni is more intolerant
of non-existant text widget 'marks', it seems.
This commit is contained in:
parent
efdca3e071
commit
7378df7822
1 changed files with 1 additions and 0 deletions
|
|
@ -961,6 +961,7 @@ class PyShell(OutputWindow):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def begin(self):
|
def begin(self):
|
||||||
|
self.text.mark_set("iomark", "insert")
|
||||||
self.resetoutput()
|
self.resetoutput()
|
||||||
if use_subprocess:
|
if use_subprocess:
|
||||||
nosub = ''
|
nosub = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue