Lines Matching refs:sign
121 # The sign of the number is also random.
145 # BASE). The sign bit is also random.
295 sign = 0
297 sign, x = 1, -x
303 return '-'[:sign] + \
331 for sign in "", "+", "-":
333 ss = prefix + sign + s
335 if sign == "-" and v is not ValueError:
632 # sign and aligning are interdependent
695 self.assertRaises(ValueError, format, 3, "+c") # sign not allowed