diff options
author | Guilherme Polo <ggpolo@gmail.com> | 2009-03-07 01:54:57 (GMT) |
---|---|---|
committer | Guilherme Polo <ggpolo@gmail.com> | 2009-03-07 01:54:57 (GMT) |
commit | 56f5be5317c2b8ec55fb7cbf82467986b4c5f3ff (patch) | |
tree | 00dbfa241786dd05d583cbb7ef8cfd8091ad9772 /Lib/tkinter | |
parent | b3c6ed5e10916734bf0bd96fcf21743ab916efd4 (diff) | |
download | cpython-56f5be5317c2b8ec55fb7cbf82467986b4c5f3ff.zip cpython-56f5be5317c2b8ec55fb7cbf82467986b4c5f3ff.tar.gz cpython-56f5be5317c2b8ec55fb7cbf82467986b4c5f3ff.tar.bz2 |
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.
........
Diffstat (limited to 'Lib/tkinter')
-rw-r--r-- | Lib/tkinter/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py index 3d519ed..b84bdf0 100644 --- a/Lib/tkinter/__init__.py +++ b/Lib/tkinter/__init__.py @@ -3030,7 +3030,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) |