Kaydet (Commit) 6d6c1fd0 authored tarafından Guilherme Polo's avatar Guilherme Polo

Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string.

üst 943b24e7
......@@ -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)
......
......@@ -168,6 +168,8 @@ Core and Builtins
Library
-------
- Issue #5193: Guarantee that Tkinter.Text.search returns a string.
- Issue #5394: removed > 2.3 syntax from distutils.msvc9compiler.
Original patch by Akira Kitada.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment