summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-02-18 00:06:20 (GMT)
committerBarry Warsaw <barry@python.org>1998-02-18 00:06:20 (GMT)
commitd7300f8f568df7b3bdd170376ec79b68eab016eb (patch)
treee0a595976b08b2bd6c08be5f4f6e157c51d7f4cc /Tools
parentf67a50c2e1b1afffd2ce49d4e53356e95a0efea0 (diff)
downloadcpython-d7300f8f568df7b3bdd170376ec79b68eab016eb.zip
cpython-d7300f8f568df7b3bdd170376ec79b68eab016eb.tar.gz
cpython-d7300f8f568df7b3bdd170376ec79b68eab016eb.tar.bz2
__modified(): Make sure `rgbs' is a tuple
Diffstat (limited to 'Tools')
-rw-r--r--Tools/pynche/TypeinViewer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/pynche/TypeinViewer.py b/Tools/pynche/TypeinViewer.py
index d25eb82..44c4b36 100644
--- a/Tools/pynche/TypeinViewer.py
+++ b/Tools/pynche/TypeinViewer.py
@@ -93,7 +93,7 @@ class TypeinWidget(Pmw.MegaWidget):
def __modified(self):
# these are guaranteed to be valid, right?
vals = map(lambda x: x.get(), (self.__x, self.__y, self.__z))
- rgbs = map(self.__str_to_int, vals)
+ rgbs = tuple(map(self.__str_to_int, vals))
valids = map(self.__validate, vals)
delegate = self['delegate']
if (None not in rgbs) and (-1 not in valids) and delegate: