From: Georg Brandl Date: Sat, 17 May 2008 17:57:01 +0000 (+0000) Subject: #961805: fix Edit.text_modified(). X-Git-Tag: v2.6b1~358 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28fdfa98397b38017d996705e2fc3e4292bf28b6;p=python #961805: fix Edit.text_modified(). --- diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py index 00af7370b4..32bdabaa5a 100644 --- a/Lib/tkinter/__init__.py +++ b/Lib/tkinter/__init__.py @@ -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 diff --git a/Misc/NEWS b/Misc/NEWS index 954f2b6e9c..1d551901be 100644 --- 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