diff options
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))] |