mirror of
https://github.com/python/cpython.git
synced 2025-11-26 21:33:10 +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):
|
||||
self.text.mark_set("iomark", "insert")
|
||||
self.resetoutput()
|
||||
if use_subprocess:
|
||||
nosub = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue