Revert r42719, because the isinstance() check wasn't redundant; formatting a
string exception was causing a TypeError.
1 file changed