summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-22 21:49:56 (GMT)
committerGuido van Rossum <guido@python.org>1997-11-22 21:49:56 (GMT)
commitc0b93191e6e12fb391461545031808f74a8ae956 (patch)
tree932c3764991e612757802d918eb1981fec233e25 /Lib/lib-tk
parentbe7c45eec4abe3cbf12c007284360e8fd885e7cf (diff)
downloadcpython-c0b93191e6e12fb391461545031808f74a8ae956.zip
cpython-c0b93191e6e12fb391461545031808f74a8ae956.tar.gz
cpython-c0b93191e6e12fb391461545031808f74a8ae956.tar.bz2
bind_class should return a value
Diffstat (limited to 'Lib/lib-tk')
-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 1f3d46e..2883380 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -456,7 +456,7 @@ class Misc:
def unbind_all(self, sequence):
self.tk.call('bind', 'all' , sequence, '')
def bind_class(self, className, sequence=None, func=None, add=None):
- self._bind(('bind', className), sequence, func, add)
+ return self._bind(('bind', className), sequence, func, add)
def unbind_class(self, className, sequence):
self.tk.call('bind', className , sequence, '')
def mainloop(self, n=0):