diff options
author | Guido van Rossum <guido@python.org> | 1997-11-22 21:49:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-11-22 21:49:56 (GMT) |
commit | c0b93191e6e12fb391461545031808f74a8ae956 (patch) | |
tree | 932c3764991e612757802d918eb1981fec233e25 /Lib | |
parent | be7c45eec4abe3cbf12c007284360e8fd885e7cf (diff) | |
download | cpython-c0b93191e6e12fb391461545031808f74a8ae956.zip cpython-c0b93191e6e12fb391461545031808f74a8ae956.tar.gz cpython-c0b93191e6e12fb391461545031808f74a8ae956.tar.bz2 |
bind_class should return a value
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 2 |
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): |