>>>>> "FLD" == Fred L Drake, <fdrake@acm.org> writes:
FLD> for t in ListType, TupleType, ...:
FLD> if isinstance(obj, t):
FLD> break
FLD> else:
FLD> raise Exception('no match!')
Or:
try:
raise obj
except (ListType, TupleType):
pass
except:
raise TypeError, ...
with-apologies-to-tim-ly y'rs,
Jeremy