the outer parens pair is not necessary. ``elif isinstance(…)`` does the job as well.