mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
Merged revisions 70218-70219 via svnmerge from
svn+ssh://pythondev/python/trunk ........ r70218 | guilherme.polo | 2009-03-06 22:19:12 -0300 (Fri, 06 Mar 2009) | 1 line Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string. ........ r70219 | guilherme.polo | 2009-03-06 22:47:49 -0300 (Fri, 06 Mar 2009) | 4 lines Fixed issue #4792: Prevent a segfault in _tkinter by using the guaranteed to be safe interp argument given to the PythonCmd in place of the Tcl interpreter taken from a PythonCmd_ClientData. ........
This commit is contained in:
parent
a5322fb4ad
commit
c4f54fdfaa
3 changed files with 8 additions and 2 deletions
|
@ -3046,7 +3046,7 @@ class Text(Widget):
|
|||
args.append(pattern)
|
||||
args.append(index)
|
||||
if stopindex: args.append(stopindex)
|
||||
return self.tk.call(tuple(args))
|
||||
return str(self.tk.call(tuple(args)))
|
||||
def see(self, index):
|
||||
"""Scroll such that the character at INDEX is visible."""
|
||||
self.tk.call(self._w, 'see', index)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue