Merged revisions 86697 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86697 | alexander.belopolsky | 2010-11-22 14:40:51 -0500 (Mon, 22 Nov 2010) | 1 line
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 3bfa539..46caf75 100644
--- a/Lib/tkinter/tix.py
+++ b/Lib/tkinter/tix.py
@@ -253,10 +253,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))]