Message60444
I noticed that in Tkinter.py curselection() always
return strings instead of ints, (users have to use
map(int, list) to get the int values) but why? Here's
the code I found in Python 2.2/2.3. It seems someone
has noticed the problem before.
def curselection(self):
"""Return list of indices of currently selected
item."""
# XXX Ought to apply self._getints()...
return self.tk.splitlist(self.tk.call(
self._w, 'curselection'))
|
|
Date |
User |
Action |
Args |
2008-01-20 09:56:39 | admin | link | issue869780 messages |
2008-01-20 09:56:39 | admin | create | |
|