def _reverse_sign(self, sign):

        if sign == '-':
            return '+'
        elif sign == '+':
            return '-'
        else:
            raise ValueError('Bad sign "%s".' % sign)
Return the reverse of a sign contained in a string.
dataset/ETHPy150Open googlei18n/nototools/nototools/gpos_diff.py/GposDiffFinder._reverse_sign