diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-11-22 19:40:51 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-11-22 19:40:51 (GMT) |
commit | 022f049fededad8a2e8e902effd42eca19fbf2b1 (patch) | |
tree | a69fe0e6ee8f3e04515874b9279fe8df176eb477 /Lib/tkinter/tix.py | |
parent | 7744e2ae5e232634c1751bcacaeb0317459be00b (diff) | |
download | cpython-022f049fededad8a2e8e902effd42eca19fbf2b1.zip cpython-022f049fededad8a2e8e902effd42eca19fbf2b1.tar.gz cpython-022f049fededad8a2e8e902effd42eca19fbf2b1.tar.bz2 |
Issue #6878: Fixed return type of tkinter methods documented to return lists.
Diffstat (limited to 'Lib/tkinter/tix.py')
-rw-r--r-- | Lib/tkinter/tix.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/tkinter/tix.py b/Lib/tkinter/tix.py index 1ec0e54..3326adc 100644 --- a/Lib/tkinter/tix.py +++ b/Lib/tkinter/tix.py @@ -268,10 +268,10 @@ class Form: return self.tk.call('tixForm', 'info', self._w, option) def slaves(self): - return map(self._nametowidget, - self.tk.splitlist( + return [self._nametowidget(x) for x in + self.tk.splitlist( self.tk.call( - 'tixForm', 'slaves', self._w))) + 'tixForm', 'slaves', self._w))] |