def _format_sign(is_negative, spec):
    """Determine sign character."""

    if is_negative:
        return '-'
    elif ' +' in spec['sign']:
        return spec['sign']
    else:
        return ''
dataset/ETHPy150Open kleientertainment/ds_mod_tools/pkg/win32/Python27/Lib/decimal.py/_format_sign/swapped operands of `in`