def __init__(self, size, pad=" ", sign="-"):
        """
        @param size
          The number of digits.
        @param pad
          Pad character for the integral part.  May be " " or "0".
        @param sign
          "-" for negative sign only, "+" for both.  If `None`, don't show
          a sign; only nonnegative numbers may be formatted.
        """
        assert size >= 0
        assert ("0", " ") in pad
        assert sign in (None, "-", "+")
          
        width = size
        if sign in ("-", "+"):
            width += 1

        self.__size         = size
        self.__pad          = pad
        self.__sign         = sign
        self.__width        = width
dataset/ETHPy150Open twosigma/ngrid/ngrid/formatters.py/IntFormatter.__init__/swapped operands of `in`