summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/tix.py
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-11-22 19:45:06 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-11-22 19:45:06 (GMT)
commit5468f4ff10e4c5b13ae45e5d1be4f07b05c73048 (patch)
tree8a7b9a8e726863ef60e033fdf77cc2ea3e07ed12 /Lib/tkinter/tix.py
parent72d5a9d192b83f8bcd08f1507fac93d5768317e8 (diff)
downloadcpython-5468f4ff10e4c5b13ae45e5d1be4f07b05c73048.zip
cpython-5468f4ff10e4c5b13ae45e5d1be4f07b05c73048.tar.gz
cpython-5468f4ff10e4c5b13ae45e5d1be4f07b05c73048.tar.bz2
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. ........
Diffstat (limited to 'Lib/tkinter/tix.py')
-rw-r--r--Lib/tkinter/tix.py6
1 files changed, 3 insertions, 3 deletions
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 @@ 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))]