mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Issue #6878: Fixed return type of tkinter methods documented to return lists.
This commit is contained in:
parent
7744e2ae5e
commit
022f049fed
3 changed files with 21 additions and 21 deletions
|
@ -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))]
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue