Issue #6878: Fixed return type of tkinter methods documented to return lists.
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 @@
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))]