summaryrefslogtreecommitdiffstats
path: root/Demo/tix/samples
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-05-11 19:44:55 (GMT)
committerFred Drake <fdrake@acm.org>2001-05-11 19:44:55 (GMT)
commit7def25641035d42478c5e8b98364dac5cc0504c0 (patch)
treecd2ca6d5d03beb225a51abece42368a0666317ed /Demo/tix/samples
parenta2133339ff2e2e4d66b491f9d023976eadfdb8df (diff)
downloadcpython-7def25641035d42478c5e8b98364dac5cc0504c0.zip
cpython-7def25641035d42478c5e8b98364dac5cc0504c0.tar.gz
cpython-7def25641035d42478c5e8b98364dac5cc0504c0.tar.bz2
[].index() raises ValueError if the value is not in the list, so only
catch that instead of using a bare except clause.
Diffstat (limited to 'Demo/tix/samples')
0 files changed, 0 insertions, 0 deletions