3
# DP: Fix issue 961805, Text.edit_modified() fails.
6
if [ $# -eq 3 -a "$2" = '-d' ]; then
9
elif [ $# -ne 1 ]; then
10
echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
15
patch $pdir -f --no-backup-if-mismatch -p0 < $0
18
patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
21
echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
26
Index: Lib/lib-tk/Tkinter.py
27
===================================================================
28
--- Lib/lib-tk/Tkinter.py (revision 53542)
29
+++ Lib/lib-tk/Tkinter.py (working copy)
34
- return self._getints(
35
- self.tk.call((self._w, 'edit') + args)) or ()
36
+ return self.tk.call((self._w, 'edit') + args)
38
def edit_modified(self, arg=None):
39
"""Get or Set the modified flag