]> granicus.if.org Git - python/commitdiff
#961805: fix Edit.text_modified().
authorGeorg Brandl <georg@python.org>
Sat, 17 May 2008 17:57:01 +0000 (17:57 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 17 May 2008 17:57:01 +0000 (17:57 +0000)
Lib/tkinter/__init__.py
Misc/NEWS

index 00af7370b44aa8f1a3f1323e5b672a71b73309d2..32bdabaa5a0e8436c5bcb12541a0d35036cf968a 100644 (file)
@@ -2908,8 +2908,7 @@ class Text(Widget):
         and edit_undo
 
         """
-        return self._getints(
-            self.tk.call((self._w, 'edit') + args)) or ()
+        return self.tk.call(self._w, 'edit', *args)
 
     def edit_modified(self, arg=None):
         """Get or Set the modified flag
index 954f2b6e9ceb2ede5ae8a8a544b1a5178b9ee1a7..1d551901bec0119692cc30a4d5f3aa21e327ffaf 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -44,6 +44,8 @@ Extension Modules
 Library
 -------
 
+- Issue #961805: Fix Text.edit_modified() in Tkinter.
+
 - Issue 1793: Function ctypes.util.find_msvcrt() added that returns
   the name of the C runtime library that Python uses.
   ctypes.util.find_library(name) now call this function when name is