summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/tkinter/__init__.py3
-rw-r--r--Misc/NEWS2
2 files changed, 3 insertions, 2 deletions
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