test_coercion 2 + 2 = 4 2 += 2 => 4 2 - 2 = 0 2 -= 2 => 0 2 * 2 = 4 2 *= 2 => 4 2 / 2 = 1 2 /= 2 => 1 2 ** 2 = 4 2 **= 2 => 4 2 % 2 = 0 2 %= 2 => 0 2 + 4.0 = 6.0 2 += 4.0 => 6.0 2 - 4.0 = -2.0 2 -= 4.0 => -2.0 2 * 4.0 = 8.0 2 *= 4.0 => 8.0 2 / 4.0 = 0.5 2 /= 4.0 => 0.5 2 ** 4.0 = 16.0 2 **= 4.0 => 16.0 2 % 4.0 = 2.0 2 %= 4.0 => 2.0 2 + 2 = 4 2 += 2 => 4 2 - 2 = 0 2 -= 2 => 0 2 * 2 = 4 2 *= 2 => 4 2 / 2 = 1 2 /= 2 => 1 2 ** 2 = 4 2 **= 2 => 4 2 % 2 = 0 2 %= 2 => 0 2 + (2+0j) = (4.0 + 0.0j) 2 += (2+0j) => (4.0 + 0.0j) 2 - (2+0j) = (0.0 + 0.0j) 2 -= (2+0j) => (0.0 + 0.0j) 2 * (2+0j) = (4.0 + 0.0j) 2 *= (2+0j) => (4.0 + 0.0j) 2 / (2+0j) = (1.0 + 0.0j) 2 /= (2+0j) => (1.0 + 0.0j) 2 ** (2+0j) = (4.0 + 0.0j) 2 **= (2+0j) => (4.0 + 0.0j) 2 % (2+0j) = (0.0 + 0.0j) 2 %= (2+0j) => (0.0 + 0.0j) 2 + [1] ... exceptions.TypeError 2 += [1] ... exceptions.TypeError 2 - [1] ... exceptions.TypeError 2 -= [1] ... exceptions.TypeError 2 * [1] = [1, 1] 2 *= [1] => [1, 1] 2 / [1] ... exceptions.TypeError 2 /= [1] ... exceptions.TypeError 2 ** [1] ... exceptions.TypeError 2 **= [1] ... exceptions.TypeError 2 % [1] ... exceptions.TypeError 2 %= [1] ... exceptions.TypeError 2 + (2,) ... exceptions.TypeError 2 += (2,) ... exceptions.TypeError 2 - (2,) ... exceptions.TypeError 2 -= (2,) ... exceptions.TypeError 2 * (2,) = (2, 2) 2 *= (2,) => (2, 2) 2 / (2,) ... exceptions.TypeError 2 /= (2,) ... exceptions.TypeError 2 ** (2,) ... exceptions.TypeError 2 **= (2,) ... exceptions.TypeError 2 % (2,) ... exceptions.TypeError 2 %= (2,) ... exceptions.TypeError 2 + None ... exceptions.TypeError 2 += None ... exceptions.TypeError 2 - None ... exceptions.TypeError 2 -= None ... exceptions.TypeError 2 * None ... exceptions.TypeError 2 *= None ... exceptions.TypeError 2 / None ... exceptions.TypeError 2 /= None ... exceptions.TypeError 2 ** None ... exceptions.TypeError 2 **= None ... exceptions.TypeError 2 % None ... exceptions.TypeError 2 %= None ... exceptions.TypeError 2 + = 4 2 += => 4 2 - = 0 2 -= => 0 2 * = 4 2 *= => 4 2 / = 1 2 /= => 1 2 ** = 4 2 **= => 4 2 % = 0 2 %= => 0 2 + = 4 2 += => 4 2 - = 0 2 -= => 0 2 * = 4 2 *= => 4 2 / = 1 2 /= => 1 2 ** = 4 2 **= => 4 2 % = 0 2 %= => 0 4.0 + 2 = 6.0 4.0 += 2 => 6.0 4.0 - 2 = 2.0 4.0 -= 2 => 2.0 4.0 * 2 = 8.0 4.0 *= 2 => 8.0 4.0 / 2 = 2.0 4.0 /= 2 => 2.0 4.0 ** 2 = 16.0 4.0 **= 2 => 16.0 4.0 % 2 = 0.0 4.0 %= 2 => 0.0 4.0 + 4.0 = 8.0 4.0 += 4.0 => 8.0 4.0 - 4.0 = 0.0 4.0 -= 4.0 => 0.0 4.0 * 4.0 = 16.0 4.0 *= 4.0 => 16.0 4.0 / 4.0 = 1.0 4.0 /= 4.0 => 1.0 4.0 ** 4.0 = 256.0 4.0 **= 4.0 => 256.0 4.0 % 4.0 = 0.0 4.0 %= 4.0 => 0.0 4.0 + 2 = 6.0 4.0 += 2 => 6.0 4.0 - 2 = 2.0 4.0 -= 2 => 2.0 4.0 * 2 = 8.0 4.0 *= 2 => 8.0 4.0 / 2 = 2.0 4.0 /= 2 => 2.0 4.0 ** 2 = 16.0 4.0 **= 2 => 16.0 4.0 % 2 = 0.0 4.0 %= 2 => 0.0 4.0 + (2+0j) = (6.0 + 0.0j) 4.0 += (2+0j) => (6.0 + 0.0j) 4.0 - (2+0j) = (2.0 + 0.0j) 4.0 -= (2+0j) => (2.0 + 0.0j) 4.0 * (2+0j) = (8.0 + 0.0j) 4.0 *= (2+0j) => (8.0 + 0.0j) 4.0 / (2+0j) = (2.0 + 0.0j) 4.0 /= (2+0j) => (2.0 + 0.0j) 4.0 ** (2+0j) = (16.0 + 0.0j) 4.0 **= (2+0j) => (16.0 + 0.0j) 4.0 % (2+0j) = (0.0 + 0.0j) 4.0 %= (2+0j) => (0.0 + 0.0j) 4.0 + [1] ... exceptions.TypeError 4.0 += [1] ... exceptions.TypeError 4.0 - [1] ... exceptions.TypeError 4.0 -= [1] ... exceptions.TypeError 4.0 * [1] ... exceptions.TypeError 4.0 *= [1] ... exceptions.TypeError 4.0 / [1] ... exceptions.TypeError 4.0 /= [1] ... exceptions.TypeError 4.0 ** [1] ... exceptions.TypeError 4.0 **= [1] ... exceptions.TypeError 4.0 % [1] ... exceptions.TypeError 4.0 %= [1] ... exceptions.TypeError 4.0 + (2,) ... exceptions.TypeError 4.0 += (2,) ... exceptions.TypeError 4.0 - (2,) ... exceptions.TypeError 4.0 -= (2,) ... exceptions.TypeError 4.0 * (2,) ... exceptions.TypeError 4.0 *= (2,) ... exceptions.TypeError 4.0 / (2,) ... exceptions.TypeError 4.0 /= (2,) ... exceptions.TypeError 4.0 ** (2,) ... exceptions.TypeError 4.0 **= (2,) ... exceptions.TypeError 4.0 % (2,) ... exceptions.TypeError 4.0 %= (2,) ... exceptions.TypeError 4.0 + None ... exceptions.TypeError 4.0 += None ... exceptions.TypeError 4.0 - None ... exceptions.TypeError 4.0 -= None ... exceptions.TypeError 4.0 * None ... exceptions.TypeError 4.0 *= None ... exceptions.TypeError 4.0 / None ... exceptions.TypeError 4.0 /= None ... exceptions.TypeError 4.0 ** None ... exceptions.TypeError 4.0 **= None ... exceptions.TypeError 4.0 % None ... exceptions.TypeError 4.0 %= None ... exceptions.TypeError 4.0 + = 6.0 4.0 += => 6.0 4.0 - = 2.0 4.0 -= => 2.0 4.0 * = 8.0 4.0 *= => 8.0 4.0 / = 2.0 4.0 /= => 2.0 4.0 ** = 16.0 4.0 **= => 16.0 4.0 % = 0.0 4.0 %= => 0.0 4.0 + = 6.0 4.0 += => 6.0 4.0 - = 2.0 4.0 -= => 2.0 4.0 * = 8.0 4.0 *= => 8.0 4.0 / = 2.0 4.0 /= => 2.0 4.0 ** = 16.0 4.0 **= => 16.0 4.0 % = 0.0 4.0 %= => 0.0 2 + 2 = 4 2 += 2 => 4 2 - 2 = 0 2 -= 2 => 0 2 * 2 = 4 2 *= 2 => 4 2 / 2 = 1 2 /= 2 => 1 2 ** 2 = 4 2 **= 2 => 4 2 % 2 = 0 2 %= 2 => 0 2 + 4.0 = 6.0 2 += 4.0 => 6.0 2 - 4.0 = -2.0 2 -= 4.0 => -2.0 2 * 4.0 = 8.0 2 *= 4.0 => 8.0 2 / 4.0 = 0.5 2 /= 4.0 => 0.5 2 ** 4.0 = 16.0 2 **= 4.0 => 16.0 2 % 4.0 = 2.0 2 %= 4.0 => 2.0 2 + 2 = 4 2 += 2 => 4 2 - 2 = 0 2 -= 2 => 0 2 * 2 = 4 2 *= 2 => 4 2 / 2 = 1 2 /= 2 => 1 2 ** 2 = 4 2 **= 2 => 4 2 % 2 = 0 2 %= 2 => 0 2 + (2+0j) = (4.0 + 0.0j) 2 += (2+0j) => (4.0 + 0.0j) 2 - (2+0j) = (0.0 + 0.0j) 2 -= (2+0j) => (0.0 + 0.0j) 2 * (2+0j) = (4.0 + 0.0j) 2 *= (2+0j) => (4.0 + 0.0j) 2 / (2+0j) = (1.0 + 0.0j) 2 /= (2+0j) => (1.0 + 0.0j) 2 ** (2+0j) = (4.0 + 0.0j) 2 **= (2+0j) => (4.0 + 0.0j) 2 % (2+0j) = (0.0 + 0.0j) 2 %= (2+0j) => (0.0 + 0.0j) 2 + [1] ... exceptions.TypeError 2 += [1] ... exceptions.TypeError 2 - [1] ... exceptions.TypeError 2 -= [1] ... exceptions.TypeError 2 * [1] = [1, 1] 2 *= [1] => [1, 1] 2 / [1] ... exceptions.TypeError 2 /= [1] ... exceptions.TypeError 2 ** [1] ... exceptions.TypeError 2 **= [1] ... exceptions.TypeError 2 % [1] ... exceptions.TypeError 2 %= [1] ... exceptions.TypeError 2 + (2,) ... exceptions.TypeError 2 += (2,) ... exceptions.TypeError 2 - (2,) ... exceptions.TypeError 2 -= (2,) ... exceptions.TypeError 2 * (2,) = (2, 2) 2 *= (2,) => (2, 2) 2 / (2,) ... exceptions.TypeError 2 /= (2,) ... exceptions.TypeError 2 ** (2,) ... exceptions.TypeError 2 **= (2,) ... exceptions.TypeError 2 % (2,) ... exceptions.TypeError 2 %= (2,) ... exceptions.TypeError 2 + None ... exceptions.TypeError 2 += None ... exceptions.TypeError 2 - None ... exceptions.TypeError 2 -= None ... exceptions.TypeError 2 * None ... exceptions.TypeError 2 *= None ... exceptions.TypeError 2 / None ... exceptions.TypeError 2 /= None ... exceptions.TypeError 2 ** None ... exceptions.TypeError 2 **= None ... exceptions.TypeError 2 % None ... exceptions.TypeError 2 %= None ... exceptions.TypeError 2 + = 4 2 += => 4 2 - = 0 2 -= => 0 2 * = 4 2 *= => 4 2 / = 1 2 /= => 1 2 ** = 4 2 **= => 4 2 % = 0 2 %= => 0 2 + = 4 2 += => 4 2 - = 0 2 -= => 0 2 * = 4 2 *= => 4 2 / = 1 2 /= => 1 2 ** = 4 2 **= => 4 2 % = 0 2 %= => 0 (2+0j) + 2 = (4.0 + 0.0j) (2+0j) += 2 => (4.0 + 0.0j) (2+0j) - 2 = (0.0 + 0.0j) (2+0j) -= 2 => (0.0 + 0.0j) (2+0j) * 2 = (4.0 + 0.0j) (2+0j) *= 2 => (4.0 + 0.0j) (2+0j) / 2 = (1.0 + 0.0j) (2+0j) /= 2 => (1.0 + 0.0j) (2+0j) ** 2 = (4.0 + 0.0j) (2+0j) **= 2 => (4.0 + 0.0j) (2+0j) % 2 = (0.0 + 0.0j) (2+0j) %= 2 => (0.0 + 0.0j) (2+0j) + 4.0 = (6.0 + 0.0j) (2+0j) += 4.0 => (6.0 + 0.0j) (2+0j) - 4.0 = (-2.0 + 0.0j) (2+0j) -= 4.0 => (-2.0 + 0.0j) (2+0j) * 4.0 = (8.0 + 0.0j) (2+0j) *= 4.0 => (8.0 + 0.0j) (2+0j) / 4.0 = (0.5 + 0.0j) (2+0j) /= 4.0 => (0.5 + 0.0j) (2+0j) ** 4.0 = (16.0 + 0.0j) (2+0j) **= 4.0 => (16.0 + 0.0j) (2+0j) % 4.0 = (2.0 + 0.0j) (2+0j) %= 4.0 => (2.0 + 0.0j) (2+0j) + 2 = (4.0 + 0.0j) (2+0j) += 2 => (4.0 + 0.0j) (2+0j) - 2 = (0.0 + 0.0j) (2+0j) -= 2 => (0.0 + 0.0j) (2+0j) * 2 = (4.0 + 0.0j) (2+0j) *= 2 => (4.0 + 0.0j) (2+0j) / 2 = (1.0 + 0.0j) (2+0j) /= 2 => (1.0 + 0.0j) (2+0j) ** 2 = (4.0 + 0.0j) (2+0j) **= 2 => (4.0 + 0.0j) (2+0j) % 2 = (0.0 + 0.0j) (2+0j) %= 2 => (0.0 + 0.0j) (2+0j) + (2+0j) = (4.0 + 0.0j) (2+0j) += (2+0j) => (4.0 + 0.0j) (2+0j) - (2+0j) = (0.0 + 0.0j) (2+0j) -= (2+0j) => (0.0 + 0.0j) (2+0j) * (2+0j) = (4.0 + 0.0j) (2+0j) *= (2+0j) => (4.0 + 0.0j) (2+0j) / (2+0j) = (1.0 + 0.0j) (2+0j) /= (2+0j) => (1.0 + 0.0j) (2+0j) ** (2+0j) = (4.0 + 0.0j) (2+0j) **= (2+0j) => (4.0 + 0.0j) (2+0j) % (2+0j) = (0.0 + 0.0j) (2+0j) %= (2+0j) => (0.0 + 0.0j) (2+0j) + [1] ... exceptions.TypeError (2+0j) += [1] ... exceptions.TypeError (2+0j) - [1] ... exceptions.TypeError (2+0j) -= [1] ... exceptions.TypeError (2+0j) * [1] ... exceptions.TypeError (2+0j) *= [1] ... exceptions.TypeError (2+0j) / [1] ... exceptions.TypeError (2+0j) /= [1] ... exceptions.TypeError (2+0j) ** [1] ... exceptions.TypeError (2+0j) **= [1] ... exceptions.TypeError (2+0j) % [1] ... exceptions.TypeError (2+0j) %= [1] ... exceptions.TypeError (2+0j) + (2,) ... exceptions.TypeError (2+0j) += (2,) ... exceptions.TypeError (2+0j) - (2,) ... exceptions.TypeError (2+0j) -= (2,) ... exceptions.TypeError (2+0j) * (2,) ... exceptions.TypeError (2+0j) *= (2,) ... exceptions.TypeError (2+0j) / (2,) ... exceptions.TypeError (2+0j) /= (2,) ... exceptions.TypeError (2+0j) ** (2,) ... exceptions.TypeError (2+0j) **= (2,) ... exceptions.TypeError (2+0j) % (2,) ... exceptions.TypeError (2+0j) %= (2,) ... exceptions.TypeError (2+0j) + None ... exceptions.TypeError (2+0j) += None ... exceptions.TypeError (2+0j) - None ... exceptions.TypeError (2+0j) -= None ... exceptions.TypeError (2+0j) * None ... exceptions.TypeError (2+0j) *= None ... exceptions.TypeError (2+0j) / None ... exceptions.TypeError (2+0j) /= None ... exceptions.TypeError (2+0j) ** None ... exceptions.TypeError (2+0j) **= None ... exceptions.TypeError (2+0j) % None ... exceptions.TypeError (2+0j) %= None ... exceptions.TypeError (2+0j) + = (4.0 + 0.0j) (2+0j) += => (4.0 + 0.0j) (2+0j) - = (0.0 + 0.0j) (2+0j) -= => (0.0 + 0.0j) (2+0j) * = (4.0 + 0.0j) (2+0j) *= => (4.0 + 0.0j) (2+0j) / = (1.0 + 0.0j) (2+0j) /= => (1.0 + 0.0j) (2+0j) ** = (4.0 + 0.0j) (2+0j) **= => (4.0 + 0.0j) (2+0j) % = (0.0 + 0.0j) (2+0j) %= => (0.0 + 0.0j) (2+0j) + = (4.0 + 0.0j) (2+0j) += => (4.0 + 0.0j) (2+0j) - = (0.0 + 0.0j) (2+0j) -= => (0.0 + 0.0j) (2+0j) * = (4.0 + 0.0j) (2+0j) *= => (4.0 + 0.0j) (2+0j) / = (1.0 + 0.0j) (2+0j) /= => (1.0 + 0.0j) (2+0j) ** = (4.0 + 0.0j) (2+0j) **= => (4.0 + 0.0j) (2+0j) % = (0.0 + 0.0j) (2+0j) %= => (0.0 + 0.0j) [1] + 2 ... exceptions.TypeError [1] += 2 ... exceptions.TypeError [1] - 2 ... exceptions.TypeError [1] -= 2 ... exceptions.TypeError [1] * 2 = [1, 1] [1] *= 2 => [1, 1] [1] / 2 ... exceptions.TypeError [1] /= 2 ... exceptions.TypeError [1] ** 2 ... exceptions.TypeError [1] **= 2 ... exceptions.TypeError [1] % 2 ... exceptions.TypeError [1] %= 2 ... exceptions.TypeError [1] + 4.0 ... exceptions.TypeError [1] += 4.0 ... exceptions.TypeError [1] - 4.0 ... exceptions.TypeError [1] -= 4.0 ... exceptions.TypeError [1] * 4.0 ... exceptions.TypeError [1] *= 4.0 ... exceptions.TypeError [1] / 4.0 ... exceptions.TypeError [1] /= 4.0 ... exceptions.TypeError [1] ** 4.0 ... exceptions.TypeError [1] **= 4.0 ... exceptions.TypeError [1] % 4.0 ... exceptions.TypeError [1] %= 4.0 ... exceptions.TypeError [1] + 2 ... exceptions.TypeError [1] += 2 ... exceptions.TypeError [1] - 2 ... exceptions.TypeError [1] -= 2 ... exceptions.TypeError [1] * 2 = [1, 1] [1] *= 2 => [1, 1] [1] / 2 ... exceptions.TypeError [1] /= 2 ... exceptions.TypeError [1] ** 2 ... exceptions.TypeError [1] **= 2 ... exceptions.TypeError [1] % 2 ... exceptions.TypeError [1] %= 2 ... exceptions.TypeError [1] + (2+0j) ... exceptions.TypeError [1] += (2+0j) ... exceptions.TypeError [1] - (2+0j) ... exceptions.TypeError [1] -= (2+0j) ... exceptions.TypeError [1] * (2+0j) ... exceptions.TypeError [1] *= (2+0j) ... exceptions.TypeError [1] / (2+0j) ... exceptions.TypeError [1] /= (2+0j) ... exceptions.TypeError [1] ** (2+0j) ... exceptions.TypeError [1] **= (2+0j) ... exceptions.TypeError [1] % (2+0j) ... exceptions.TypeError [1] %= (2+0j) ... exceptions.TypeError [1] + [1] = [1, 1] [1] += [1] => [1, 1] [1] - [1] ... exceptions.TypeError [1] -= [1] ... exceptions.TypeError [1] * [1] ... exceptions.TypeError [1] *= [1] ... exceptions.TypeError [1] / [1] ... exceptions.TypeError [1] /= [1] ... exceptions.TypeError [1] ** [1] ... exceptions.TypeError [1] **= [1] ... exceptions.TypeError [1] % [1] ... exceptions.TypeError [1] %= [1] ... exceptions.TypeError [1] + (2,) ... exceptions.TypeError [1] += (2,) => [1, 2] [1] - (2,) ... exceptions.TypeError [1] -= (2,) ... exceptions.TypeError [1] * (2,) ... exceptions.TypeError [1] *= (2,) ... exceptions.TypeError [1] / (2,) ... exceptions.TypeError [1] /= (2,) ... exceptions.TypeError [1] ** (2,) ... exceptions.TypeError [1] **= (2,) ... exceptions.TypeError [1] % (2,) ... exceptions.TypeError [1] %= (2,) ... exceptions.TypeError [1] + None ... exceptions.TypeError [1] += None ... exceptions.TypeError [1] - None ... exceptions.TypeError [1] -= None ... exceptions.TypeError [1] * None ... exceptions.TypeError [1] *= None ... exceptions.TypeError [1] / None ... exceptions.TypeError [1] /= None ... exceptions.TypeError [1] ** None ... exceptions.TypeError [1] **= None ... exceptions.TypeError [1] % None ... exceptions.TypeError [1] %= None ... exceptions.TypeError [1] + ... exceptions.TypeError [1] += ... exceptions.TypeError [1] - ... exceptions.TypeError [1] -= ... exceptions.TypeError [1] * = [1, 1] [1] *= => [1, 1] [1] / ... exceptions.TypeError [1] /= ... exceptions.TypeError [1] ** ... exceptions.TypeError [1] **= ... exceptions.TypeError [1] % ... exceptions.TypeError [1] %= ... exceptions.TypeError [1] + ... exceptions.TypeError [1] += ... exceptions.TypeError [1] - ... exceptions.TypeError [1] -= ... exceptions.TypeError [1] * = [1, 1] [1] *= => [1, 1] [1] / ... exceptions.TypeError [1] /= ... exceptions.TypeError [1] ** ... exceptions.TypeError [1] **= ... exceptions.TypeError [1] % ... exceptions.TypeError [1] %= ... exceptions.TypeError (2,) + 2 ... exceptions.TypeError (2,) += 2 ... exceptions.TypeError (2,) - 2 ... exceptions.TypeError (2,) -= 2 ... exceptions.TypeError (2,) * 2 = (2, 2) (2,) *= 2 => (2, 2) (2,) / 2 ... exceptions.TypeError (2,) /= 2 ... exceptions.TypeError (2,) ** 2 ... exceptions.TypeError (2,) **= 2 ... exceptions.TypeError (2,) % 2 ... exceptions.TypeError (2,) %= 2 ... exceptions.TypeError (2,) + 4.0 ... exceptions.TypeError (2,) += 4.0 ... exceptions.TypeError (2,) - 4.0 ... exceptions.TypeError (2,) -= 4.0 ... exceptions.TypeError (2,) * 4.0 ... exceptions.TypeError (2,) *= 4.0 ... exceptions.TypeError (2,) / 4.0 ... exceptions.TypeError (2,) /= 4.0 ... exceptions.TypeError (2,) ** 4.0 ... exceptions.TypeError (2,) **= 4.0 ... exceptions.TypeError (2,) % 4.0 ... exceptions.TypeError (2,) %= 4.0 ... exceptions.TypeError (2,) + 2 ... exceptions.TypeError (2,) += 2 ... exceptions.TypeError (2,) - 2 ... exceptions.TypeError (2,) -= 2 ... exceptions.TypeError (2,) * 2 = (2, 2) (2,) *= 2 => (2, 2) (2,) / 2 ... exceptions.TypeError (2,) /= 2 ... exceptions.TypeError (2,) ** 2 ... exceptions.TypeError (2,) **= 2 ... exceptions.TypeError (2,) % 2 ... exceptions.TypeError (2,) %= 2 ... exceptions.TypeError (2,) + (2+0j) ... exceptions.TypeError (2,) += (2+0j) ... exceptions.TypeError (2,) - (2+0j) ... exceptions.TypeError (2,) -= (2+0j) ... exceptions.TypeError (2,) * (2+0j) ... exceptions.TypeError (2,) *= (2+0j) ... exceptions.TypeError (2,) / (2+0j) ... exceptions.TypeError (2,) /= (2+0j) ... exceptions.TypeError (2,) ** (2+0j) ... exceptions.TypeError (2,) **= (2+0j) ... exceptions.TypeError (2,) % (2+0j) ... exceptions.TypeError (2,) %= (2+0j) ... exceptions.TypeError (2,) + [1] ... exceptions.TypeError (2,) += [1] ... exceptions.TypeError (2,) - [1] ... exceptions.TypeError (2,) -= [1] ... exceptions.TypeError (2,) * [1] ... exceptions.TypeError (2,) *= [1] ... exceptions.TypeError (2,) / [1] ... exceptions.TypeError (2,) /= [1] ... exceptions.TypeError (2,) ** [1] ... exceptions.TypeError (2,) **= [1] ... exceptions.TypeError (2,) % [1] ... exceptions.TypeError (2,) %= [1] ... exceptions.TypeError (2,) + (2,) = (2, 2) (2,) += (2,) => (2, 2) (2,) - (2,) ... exceptions.TypeError (2,) -= (2,) ... exceptions.TypeError (2,) * (2,) ... exceptions.TypeError (2,) *= (2,) ... exceptions.TypeError (2,) / (2,) ... exceptions.TypeError (2,) /= (2,) ... exceptions.TypeError (2,) ** (2,) ... exceptions.TypeError (2,) **= (2,) ... exceptions.TypeError (2,) % (2,) ... exceptions.TypeError (2,) %= (2,) ... exceptions.TypeError (2,) + None ... exceptions.TypeError (2,) += None ... exceptions.TypeError (2,) - None ... exceptions.TypeError (2,) -= None ... exceptions.TypeError (2,) * None ... exceptions.TypeError (2,) *= None ... exceptions.TypeError (2,) / None ... exceptions.TypeError (2,) /= None ... exceptions.TypeError (2,) ** None ... exceptions.TypeError (2,) **= None ... exceptions.TypeError (2,) % None ... exceptions.TypeError (2,) %= None ... exceptions.TypeError (2,) + ... exceptions.TypeError (2,) += ... exceptions.TypeError (2,) - ... exceptions.TypeError (2,) -= ... exceptions.TypeError (2,) * = (2, 2) (2,) *= => (2, 2) (2,) / ... exceptions.TypeError (2,) /= ... exceptions.TypeError (2,) ** ... exceptions.TypeError (2,) **= ... exceptions.TypeError (2,) % ... exceptions.TypeError (2,) %= ... exceptions.TypeError (2,) + ... exceptions.TypeError (2,) += ... exceptions.TypeError (2,) - ... exceptions.TypeError (2,) -= ... exceptions.TypeError (2,) * = (2, 2) (2,) *= => (2, 2) (2,) / ... exceptions.TypeError (2,) /= ... exceptions.TypeError (2,) ** ... exceptions.TypeError (2,) **= ... exceptions.TypeError (2,) % ... exceptions.TypeError (2,) %= ... exceptions.TypeError None + 2 ... exceptions.TypeError None += 2 ... exceptions.TypeError None - 2 ... exceptions.TypeError None -= 2 ... exceptions.TypeError None * 2 ... exceptions.TypeError None *= 2 ... exceptions.TypeError None / 2 ... exceptions.TypeError None /= 2 ... exceptions.TypeError None ** 2 ... exceptions.TypeError None **= 2 ... exceptions.TypeError None % 2 ... exceptions.TypeError None %= 2 ... exceptions.TypeError None + 4.0 ... exceptions.TypeError None += 4.0 ... exceptions.TypeError None - 4.0 ... exceptions.TypeError None -= 4.0 ... exceptions.TypeError None * 4.0 ... exceptions.TypeError None *= 4.0 ... exceptions.TypeError None / 4.0 ... exceptions.TypeError None /= 4.0 ... exceptions.TypeError None ** 4.0 ... exceptions.TypeError None **= 4.0 ... exceptions.TypeError None % 4.0 ... exceptions.TypeError None %= 4.0 ... exceptions.TypeError None + 2 ... exceptions.TypeError None += 2 ... exceptions.TypeError None - 2 ... exceptions.TypeError None -= 2 ... exceptions.TypeError None * 2 ... exceptions.TypeError None *= 2 ... exceptions.TypeError None / 2 ... exceptions.TypeError None /= 2 ... exceptions.TypeError None ** 2 ... exceptions.TypeError None **= 2 ... exceptions.TypeError None % 2 ... exceptions.TypeError None %= 2 ... exceptions.TypeError None + (2+0j) ... exceptions.TypeError None += (2+0j) ... exceptions.TypeError None - (2+0j) ... exceptions.TypeError None -= (2+0j) ... exceptions.TypeError None * (2+0j) ... exceptions.TypeError None *= (2+0j) ... exceptions.TypeError None / (2+0j) ... exceptions.TypeError None /= (2+0j) ... exceptions.TypeError None ** (2+0j) ... exceptions.TypeError None **= (2+0j) ... exceptions.TypeError None % (2+0j) ... exceptions.TypeError None %= (2+0j) ... exceptions.TypeError None + [1] ... exceptions.TypeError None += [1] ... exceptions.TypeError None - [1] ... exceptions.TypeError None -= [1] ... exceptions.TypeError None * [1] ... exceptions.TypeError None *= [1] ... exceptions.TypeError None / [1] ... exceptions.TypeError None /= [1] ... exceptions.TypeError None ** [1] ... exceptions.TypeError None **= [1] ... exceptions.TypeError None % [1] ... exceptions.TypeError None %= [1] ... exceptions.TypeError None + (2,) ... exceptions.TypeError None += (2,) ... exceptions.TypeError None - (2,) ... exceptions.TypeError None -= (2,) ... exceptions.TypeError None * (2,) ... exceptions.TypeError None *= (2,) ... exceptions.TypeError None / (2,) ... exceptions.TypeError None /= (2,) ... exceptions.TypeError None ** (2,) ... exceptions.TypeError None **= (2,) ... exceptions.TypeError None % (2,) ... exceptions.TypeError None %= (2,) ... exceptions.TypeError None + None ... exceptions.TypeError None += None ... exceptions.TypeError None - None ... exceptions.TypeError None -= None ... exceptions.TypeError None * None ... exceptions.TypeError None *= None ... exceptions.TypeError None / None ... exceptions.TypeError None /= None ... exceptions.TypeError None ** None ... exceptions.TypeError None **= None ... exceptions.TypeError None % None ... exceptions.TypeError None %= None ... exceptions.TypeError None + ... exceptions.TypeError None += ... exceptions.TypeError None - ... exceptions.TypeError None -= ... exceptions.TypeError None * ... exceptions.TypeError None *= ... exceptions.TypeError None / ... exceptions.TypeError None /= ... exceptions.TypeError None ** ... exceptions.TypeError None **= ... exceptions.TypeError None % ... exceptions.TypeError None %= ... exceptions.TypeError None + ... exceptions.TypeError None += ... exceptions.TypeError None - ... exceptions.TypeError None -= ... exceptions.TypeError None * ... exceptions.TypeError None *= ... exceptions.TypeError None / ... exceptions.TypeError None /= ... exceptions.TypeError None ** ... exceptions.TypeError None **= ... exceptions.TypeError None % ... exceptions.TypeError None %= ... exceptions.TypeError + 2 = 4 += 2 => 4 - 2 = 0 -= 2 => 0 * 2 = 4 *= 2 => 4 / 2 = 1 /= 2 => 1 ** 2 = 4 **= 2 => 4 % 2 = 0 %= 2 => 0 + 4.0 = 6.0 += 4.0 => 6.0 - 4.0 = -2.0 -= 4.0 => -2.0 * 4.0 = 8.0 *= 4.0 => 8.0 / 4.0 = 0.5 /= 4.0 => 0.5 ** 4.0 = 16.0 **= 4.0 => 16.0 % 4.0 = 2.0 %= 4.0 => 2.0 + 2 = 4 += 2 => 4 - 2 = 0 -= 2 => 0 * 2 = 4 *= 2 => 4 / 2 = 1 /= 2 => 1 ** 2 = 4 **= 2 => 4 % 2 = 0 %= 2 => 0 + (2+0j) = (4.0 + 0.0j) += (2+0j) => (4.0 + 0.0j) - (2+0j) = (0.0 + 0.0j) -= (2+0j) => (0.0 + 0.0j) * (2+0j) = (4.0 + 0.0j) *= (2+0j) => (4.0 + 0.0j) / (2+0j) = (1.0 + 0.0j) /= (2+0j) => (1.0 + 0.0j) ** (2+0j) = (4.0 + 0.0j) **= (2+0j) => (4.0 + 0.0j) % (2+0j) = (0.0 + 0.0j) %= (2+0j) => (0.0 + 0.0j) + [1] ... exceptions.TypeError += [1] ... exceptions.TypeError - [1] ... exceptions.TypeError -= [1] ... exceptions.TypeError * [1] = [1, 1] *= [1] => [1, 1] / [1] ... exceptions.TypeError /= [1] ... exceptions.TypeError ** [1] ... exceptions.TypeError **= [1] ... exceptions.TypeError % [1] ... exceptions.TypeError %= [1] ... exceptions.TypeError + (2,) ... exceptions.TypeError += (2,) ... exceptions.TypeError - (2,) ... exceptions.TypeError -= (2,) ... exceptions.TypeError * (2,) = (2, 2) *= (2,) => (2, 2) / (2,) ... exceptions.TypeError /= (2,) ... exceptions.TypeError ** (2,) ... exceptions.TypeError **= (2,) ... exceptions.TypeError % (2,) ... exceptions.TypeError %= (2,) ... exceptions.TypeError + None ... exceptions.TypeError += None ... exceptions.TypeError - None ... exceptions.TypeError -= None ... exceptions.TypeError * None ... exceptions.TypeError *= None ... exceptions.TypeError / None ... exceptions.TypeError /= None ... exceptions.TypeError ** None ... exceptions.TypeError **= None ... exceptions.TypeError % None ... exceptions.TypeError %= None ... exceptions.TypeError + = 4 += => 4 - = 0 -= => 0 * = 4 *= => 4 / = 1 /= => 1 ** = 4 **= => 4 % = 0 %= => 0 + = 4 += => 4 - = 0 -= => 0 * = 4 *= => 4 / = 1 /= => 1 ** = 4 **= => 4 % = 0 %= => 0 + 2 = 4 += 2 => 4 - 2 = 0 -= 2 => 0 * 2 = 4 *= 2 => 4 / 2 = 1 /= 2 => 1 ** 2 = 4 **= 2 => 4 % 2 = 0 %= 2 => 0 + 4.0 = 6.0 += 4.0 => 6.0 - 4.0 = -2.0 -= 4.0 => -2.0 * 4.0 = 8.0 *= 4.0 => 8.0 / 4.0 = 0.5 /= 4.0 => 0.5 ** 4.0 = 16.0 **= 4.0 => 16.0 % 4.0 = 2.0 %= 4.0 => 2.0 + 2 = 4 += 2 => 4 - 2 = 0 -= 2 => 0 * 2 = 4 *= 2 => 4 / 2 = 1 /= 2 => 1 ** 2 = 4 **= 2 => 4 % 2 = 0 %= 2 => 0 + (2+0j) = (4.0 + 0.0j) += (2+0j) => (4.0 + 0.0j) - (2+0j) = (0.0 + 0.0j) -= (2+0j) => (0.0 + 0.0j) * (2+0j) = (4.0 + 0.0j) *= (2+0j) => (4.0 + 0.0j) / (2+0j) = (1.0 + 0.0j) /= (2+0j) => (1.0 + 0.0j) ** (2+0j) = (4.0 + 0.0j) **= (2+0j) => (4.0 + 0.0j) % (2+0j) = (0.0 + 0.0j) %= (2+0j) => (0.0 + 0.0j) + [1] ... exceptions.TypeError += [1] ... exceptions.TypeError - [1] ... exceptions.TypeError -= [1] ... exceptions.TypeError * [1] = [1, 1] *= [1] => [1, 1] / [1] ... exceptions.TypeError /= [1] ... exceptions.TypeError ** [1] ... exceptions.TypeError **= [1] ... exceptions.TypeError % [1] ... exceptions.TypeError %= [1] ... exceptions.TypeError + (2,) ... exceptions.TypeError += (2,) ... exceptions.TypeError - (2,) ... exceptions.TypeError -= (2,) ... exceptions.TypeError * (2,) = (2, 2) *= (2,) => (2, 2) / (2,) ... exceptions.TypeError /= (2,) ... exceptions.TypeError ** (2,) ... exceptions.TypeError **= (2,) ... exceptions.TypeError % (2,) ... exceptions.TypeError %= (2,) ... exceptions.TypeError + None ... exceptions.TypeError += None ... exceptions.TypeError - None ... exceptions.TypeError -= None ... exceptions.TypeError * None ... exceptions.TypeError *= None ... exceptions.TypeError / None ... exceptions.TypeError /= None ... exceptions.TypeError ** None ... exceptions.TypeError **= None ... exceptions.TypeError % None ... exceptions.TypeError %= None ... exceptions.TypeError + = 4 += => 4 - = 0 -= => 0 * = 4 *= => 4 / = 1 /= => 1 ** = 4 **= => 4 % = 0 %= => 0 + = 4 += => 4 - = 0 -= => 0 * = 4 *= => 4 / = 1 /= => 1 ** = 4 **= => 4 % = 0 %= => 0 divmod(2, 2) = (1, 0) divmod(2, 4.0) = (0.0, 2.0) divmod(2, 2) = (1L, 0L) divmod(2, (2+0j)) = ((1+0j), 0j) divmod(2, [1]) ... exceptions.TypeError divmod(2, (2,)) ... exceptions.TypeError divmod(2, None) ... exceptions.TypeError divmod(2, ) ... exceptions.TypeError divmod(2, ) = (1, 0) divmod(4.0, 2) = (2.0, 0.0) divmod(4.0, 4.0) = (1.0, 0.0) divmod(4.0, 2) = (2.0, 0.0) divmod(4.0, (2+0j)) = ((2+0j), 0j) divmod(4.0, [1]) ... exceptions.TypeError divmod(4.0, (2,)) ... exceptions.TypeError divmod(4.0, None) ... exceptions.TypeError divmod(4.0, ) ... exceptions.TypeError divmod(4.0, ) = (2.0, 0.0) divmod(2, 2) = (1L, 0L) divmod(2, 4.0) = (0.0, 2.0) divmod(2, 2) = (1L, 0L) divmod(2, (2+0j)) = ((1+0j), 0j) divmod(2, [1]) ... exceptions.TypeError divmod(2, (2,)) ... exceptions.TypeError divmod(2, None) ... exceptions.TypeError divmod(2, ) ... exceptions.TypeError divmod(2, ) = (1L, 0L) divmod((2+0j), 2) = ((1+0j), 0j) divmod((2+0j), 4.0) = (0j, (2+0j)) divmod((2+0j), 2) = ((1+0j), 0j) divmod((2+0j), (2+0j)) = ((1+0j), 0j) divmod((2+0j), [1]) ... exceptions.TypeError divmod((2+0j), (2,)) ... exceptions.TypeError divmod((2+0j), None) ... exceptions.TypeError divmod((2+0j), ) ... exceptions.TypeError divmod((2+0j), ) = ((1+0j), 0j) divmod([1], 2) ... exceptions.TypeError divmod([1], 4.0) ... exceptions.TypeError divmod([1], 2) ... exceptions.TypeError divmod([1], (2+0j)) ... exceptions.TypeError divmod([1], [1]) ... exceptions.TypeError divmod([1], (2,)) ... exceptions.TypeError divmod([1], None) ... exceptions.TypeError divmod([1], ) ... exceptions.TypeError divmod([1], ) ... exceptions.TypeError divmod((2,), 2) ... exceptions.TypeError divmod((2,), 4.0) ... exceptions.TypeError divmod((2,), 2) ... exceptions.TypeError divmod((2,), (2+0j)) ... exceptions.TypeError divmod((2,), [1]) ... exceptions.TypeError divmod((2,), (2,)) ... exceptions.TypeError divmod((2,), None) ... exceptions.TypeError divmod((2,), ) ... exceptions.TypeError divmod((2,), ) ... exceptions.TypeError divmod(None, 2) ... exceptions.TypeError divmod(None, 4.0) ... exceptions.TypeError divmod(None, 2) ... exceptions.TypeError divmod(None, (2+0j)) ... exceptions.TypeError divmod(None, [1]) ... exceptions.TypeError divmod(None, (2,)) ... exceptions.TypeError divmod(None, None) ... exceptions.TypeError divmod(None, ) ... exceptions.TypeError divmod(None, ) ... exceptions.TypeError divmod(, 2) ... exceptions.TypeError divmod(, 4.0) ... exceptions.TypeError divmod(, 2) ... exceptions.TypeError divmod(, (2+0j)) ... exceptions.TypeError divmod(, [1]) ... exceptions.TypeError divmod(, (2,)) ... exceptions.TypeError divmod(, None) ... exceptions.TypeError divmod(, ) ... exceptions.TypeError divmod(, ) ... exceptions.TypeError divmod(, 2) = (1, 0) divmod(, 4.0) = (0.0, 2.0) divmod(, 2) = (1L, 0L) divmod(, (2+0j)) = ((1+0j), 0j) divmod(, [1]) ... exceptions.TypeError divmod(, (2,)) ... exceptions.TypeError divmod(, None) ... exceptions.TypeError divmod(, ) ... exceptions.TypeError divmod(, ) = (1, 0)