On 30/09/2011 12:02 PM, Nick Coghlan wrote: > You missed something. startswith() and endswith() already accept > tuples of strings to check and have done so since 2.5 [1]: Ha ha, should have checked for emails that arrived while I was composing my stupid response before I sent it. Matt