Sequence repeat works now for in-place multiply with an integer type

as the left operand.  I don't know if this is a feature or a bug.
This commit is contained in:
Neil Schemenauer 2001-01-04 01:36:25 +00:00
parent aa726ba991
commit 623116a870
1 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ test_coercion
2 - [1] ... exceptions.TypeError
2 -= [1] ... exceptions.TypeError
2 * [1] = [1, 1]
2 *= [1] ... exceptions.TypeError
2 *= [1] => [1, 1]
2 / [1] ... exceptions.TypeError
2 /= [1] ... exceptions.TypeError
2 ** [1] ... exceptions.TypeError
@ -64,7 +64,7 @@ test_coercion
2 - (2,) ... exceptions.TypeError
2 -= (2,) ... exceptions.TypeError
2 * (2,) = (2, 2)
2 *= (2,) ... exceptions.TypeError
2 *= (2,) => (2, 2)
2 / (2,) ... exceptions.TypeError
2 /= (2,) ... exceptions.TypeError
2 ** (2,) ... exceptions.TypeError
@ -268,7 +268,7 @@ test_coercion
2 - [1] ... exceptions.TypeError
2 -= [1] ... exceptions.TypeError
2 * [1] = [1, 1]
2 *= [1] ... exceptions.TypeError
2 *= [1] => [1, 1]
2 / [1] ... exceptions.TypeError
2 /= [1] ... exceptions.TypeError
2 ** [1] ... exceptions.TypeError
@ -280,7 +280,7 @@ test_coercion
2 - (2,) ... exceptions.TypeError
2 -= (2,) ... exceptions.TypeError
2 * (2,) = (2, 2)
2 *= (2,) ... exceptions.TypeError
2 *= (2,) => (2, 2)
2 / (2,) ... exceptions.TypeError
2 /= (2,) ... exceptions.TypeError
2 ** (2,) ... exceptions.TypeError