0.13dev: Combined multiple calls to `.startswith()` and `.endswith()` with a single call and a `tuple` argument.
Part of #9536.
Authored by: rblank 2011-02-23
Parent: [r10595]
Child: [r10597]