summaryrefslogtreecommitdiffstats
path: root/Mac/scripts
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-05-11 19:52:03 (GMT)
committerFred Drake <fdrake@acm.org>2001-05-11 19:52:03 (GMT)
commitef4cdad0905c55d921d899cb8b91e58ec6beeb80 (patch)
treee8e68f3657e9151e5ad56737bdeb874defadaa7a /Mac/scripts
parent7def25641035d42478c5e8b98364dac5cc0504c0 (diff)
downloadcpython-ef4cdad0905c55d921d899cb8b91e58ec6beeb80.zip
cpython-ef4cdad0905c55d921d899cb8b91e58ec6beeb80.tar.gz
cpython-ef4cdad0905c55d921d899cb8b91e58ec6beeb80.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 'Mac/scripts')
0 files changed, 0 insertions, 0 deletions