test_coercion
来自「mallet是自然语言处理、机器学习领域的一个开源项目。」· 代码 · 共 1,055 行 · 第 1/3 页
TXT
1,055 行
(2+0j) -= 2 => 0j(2+0j) * 2 = (4+0j)(2+0j) *= 2 => (4+0j)(2+0j) / 2 = (1+0j)(2+0j) /= 2 => (1+0j)(2+0j) ** 2 = (4+0j)(2+0j) **= 2 => (4+0j)(2+0j) % 2 = 0j(2+0j) %= 2 => 0j(2+0j) + (2+0j) = (4+0j)(2+0j) += (2+0j) => (4+0j)(2+0j) - (2+0j) = 0j(2+0j) -= (2+0j) => 0j(2+0j) * (2+0j) = (4+0j)(2+0j) *= (2+0j) => (4+0j)(2+0j) / (2+0j) = (1+0j)(2+0j) /= (2+0j) => (1+0j)(2+0j) ** (2+0j) = (4+0j)(2+0j) **= (2+0j) => (4+0j)(2+0j) % (2+0j) = 0j(2+0j) %= (2+0j) => 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) + <MethodNumber 1> = (3+0j)(2+0j) += <MethodNumber 1> => (3+0j)(2+0j) - <MethodNumber 1> = (1+0j)(2+0j) -= <MethodNumber 1> => (1+0j)(2+0j) * <MethodNumber 1> = (2+0j)(2+0j) *= <MethodNumber 1> => (2+0j)(2+0j) / <MethodNumber 1> = (2+0j)(2+0j) /= <MethodNumber 1> => (2+0j)(2+0j) ** <MethodNumber 1> = (2+0j)(2+0j) **= <MethodNumber 1> => (2+0j)(2+0j) % <MethodNumber 1> = 0j(2+0j) %= <MethodNumber 1> => 0j(2+0j) + <CoerceNumber 2> = (4+0j)(2+0j) += <CoerceNumber 2> => (4+0j)(2+0j) - <CoerceNumber 2> = 0j(2+0j) -= <CoerceNumber 2> => 0j(2+0j) * <CoerceNumber 2> = (4+0j)(2+0j) *= <CoerceNumber 2> => (4+0j)(2+0j) / <CoerceNumber 2> = (1+0j)(2+0j) /= <CoerceNumber 2> => (1+0j)(2+0j) ** <CoerceNumber 2> = (4+0j)(2+0j) **= <CoerceNumber 2> => (4+0j)(2+0j) % <CoerceNumber 2> = 0j(2+0j) %= <CoerceNumber 2> => 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] + <MethodNumber 1> ... exceptions.TypeError[1] += <MethodNumber 1> ... exceptions.TypeError[1] - <MethodNumber 1> ... exceptions.TypeError[1] -= <MethodNumber 1> ... exceptions.TypeError[1] * <MethodNumber 1> = [1][1] *= <MethodNumber 1> ... exceptions.TypeError[1] / <MethodNumber 1> ... exceptions.TypeError[1] /= <MethodNumber 1> ... exceptions.TypeError[1] ** <MethodNumber 1> ... exceptions.TypeError[1] **= <MethodNumber 1> ... exceptions.TypeError[1] % <MethodNumber 1> ... exceptions.TypeError[1] %= <MethodNumber 1> ... exceptions.TypeError[1] + <CoerceNumber 2> ... exceptions.TypeError[1] += <CoerceNumber 2> ... exceptions.TypeError[1] - <CoerceNumber 2> ... exceptions.TypeError[1] -= <CoerceNumber 2> ... exceptions.TypeError[1] * <CoerceNumber 2> = [1, 1][1] *= <CoerceNumber 2> ... exceptions.TypeError[1] / <CoerceNumber 2> ... exceptions.TypeError[1] /= <CoerceNumber 2> ... exceptions.TypeError[1] ** <CoerceNumber 2> ... exceptions.TypeError[1] **= <CoerceNumber 2> ... exceptions.TypeError[1] % <CoerceNumber 2> ... exceptions.TypeError[1] %= <CoerceNumber 2> ... 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,) + <MethodNumber 1> ... exceptions.TypeError(2,) += <MethodNumber 1> ... exceptions.TypeError(2,) - <MethodNumber 1> ... exceptions.TypeError(2,) -= <MethodNumber 1> ... exceptions.TypeError(2,) * <MethodNumber 1> = (2,)(2,) *= <MethodNumber 1> => (2,)(2,) / <MethodNumber 1> ... exceptions.TypeError(2,) /= <MethodNumber 1> ... exceptions.TypeError(2,) ** <MethodNumber 1> ... exceptions.TypeError(2,) **= <MethodNumber 1> ... exceptions.TypeError(2,) % <MethodNumber 1> ... exceptions.TypeError(2,) %= <MethodNumber 1> ... exceptions.TypeError(2,) + <CoerceNumber 2> ... exceptions.TypeError(2,) += <CoerceNumber 2> ... exceptions.TypeError(2,) - <CoerceNumber 2> ... exceptions.TypeError(2,) -= <CoerceNumber 2> ... exceptions.TypeError(2,) * <CoerceNumber 2> = (2, 2)(2,) *= <CoerceNumber 2> => (2, 2)(2,) / <CoerceNumber 2> ... exceptions.TypeError(2,) /= <CoerceNumber 2> ... exceptions.TypeError(2,) ** <CoerceNumber 2> ... exceptions.TypeError(2,) **= <CoerceNumber 2> ... exceptions.TypeError(2,) % <CoerceNumber 2> ... exceptions.TypeError(2,) %= <CoerceNumber 2> ... exceptions.TypeErrorNone + 2 ... exceptions.TypeErrorNone += 2 ... exceptions.TypeErrorNone - 2 ... exceptions.TypeErrorNone -= 2 ... exceptions.TypeErrorNone * 2 ... exceptions.TypeErrorNone *= 2 ... exceptions.TypeErrorNone / 2 ... exceptions.TypeErrorNone /= 2 ... exceptions.TypeErrorNone ** 2 ... exceptions.TypeErrorNone **= 2 ... exceptions.TypeErrorNone % 2 ... exceptions.TypeErrorNone %= 2 ... exceptions.TypeErrorNone + 4.0 ... exceptions.TypeErrorNone += 4.0 ... exceptions.TypeErrorNone - 4.0 ... exceptions.TypeErrorNone -= 4.0 ... exceptions.TypeErrorNone * 4.0 ... exceptions.TypeErrorNone *= 4.0 ... exceptions.TypeErrorNone / 4.0 ... exceptions.TypeErrorNone /= 4.0 ... exceptions.TypeErrorNone ** 4.0 ... exceptions.TypeErrorNone **= 4.0 ... exceptions.TypeErrorNone % 4.0 ... exceptions.TypeErrorNone %= 4.0 ... exceptions.TypeErrorNone + 2 ... exceptions.TypeErrorNone += 2 ... exceptions.TypeErrorNone - 2 ... exceptions.TypeErrorNone -= 2 ... exceptions.TypeErrorNone * 2 ... exceptions.TypeErrorNone *= 2 ... exceptions.TypeErrorNone / 2 ... exceptions.TypeErrorNone /= 2 ... exceptions.TypeErrorNone ** 2 ... exceptions.TypeErrorNone **= 2 ... exceptions.TypeErrorNone % 2 ... exceptions.TypeErrorNone %= 2 ... exceptions.TypeErrorNone + (2+0j) ... exceptions.TypeErrorNone += (2+0j) ... exceptions.TypeErrorNone - (2+0j) ... exceptions.TypeErrorNone -= (2+0j) ... exceptions.TypeErrorNone * (2+0j) ... exceptions.TypeErrorNone *= (2+0j) ... exceptions.TypeErrorNone / (2+0j) ... exceptions.TypeErrorNone /= (2+0j) ... exceptions.TypeErrorNone ** (2+0j) ... exceptions.TypeErrorNone **= (2+0j) ... exceptions.TypeErrorNone % (2+0j) ... exceptions.TypeErrorNone %= (2+0j) ... exceptions.TypeErrorNone + [1] ... exceptions.TypeErrorNone += [1] ... exceptions.TypeErrorNone - [1] ... exceptions.TypeErrorNone -= [1] ... exceptions.TypeErrorNone * [1] ... exceptions.TypeErrorNone *= [1] ... exceptions.TypeErrorNone / [1] ... exceptions.TypeError
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?