def check_exc_info(exc_info):
    assert exc_info is None or type(exc_info) is type(()), (
        (exc_info, type(exc_info)) % "exc_info (%r) is not a tuple: %r")
    # More exc_info checks?
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/lint.py/check_exc_info/swapped operands of `%`