summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/Tkinter.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-07-21 02:19:32 (GMT)
committerGuido van Rossum <guido@python.org>1996-07-21 02:19:32 (GMT)
commit421bb0e389ad9c0c3353dfd89fd8ef4e4756d1cb (patch)
tree7da6d75b580d0fb13736cd655019d3a62902294f /Lib/lib-tk/Tkinter.py
parent6d6a15bab20b27f739d5c9a44903a4e420ce3af7 (diff)
downloadcpython-421bb0e389ad9c0c3353dfd89fd8ef4e4756d1cb.zip
cpython-421bb0e389ad9c0c3353dfd89fd8ef4e4756d1cb.tar.gz
cpython-421bb0e389ad9c0c3353dfd89fd8ef4e4756d1cb.tar.bz2
fix canvas bind commands
Diffstat (limited to 'Lib/lib-tk/Tkinter.py')
-rw-r--r--Lib/lib-tk/Tkinter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index d033823..4c7fd71 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -951,7 +951,7 @@ class Canvas(Widget):
def tag_unbind(self, tagOrId, sequence):
self.tk.call(self._w, 'bind', tagOrId, sequence, '')
def tag_bind(self, tagOrId, sequence=None, func=None, add=None):
- return self._bind((self._w, 'tag', 'bind', tagOrId),
+ return self._bind((self._w, 'bind', tagOrId),
sequence, func, add)
def canvasx(self, screenx, gridspacing=None):
return self.tk.getdouble(self.tk.call(