diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-01-04 01:36:25 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-01-04 01:36:25 (GMT) |
commit | 623116a8701ead53a7ba09d329761f4242fd3eb5 (patch) | |
tree | d972d84e5c77a71fd4f7954f7ff4d6e94dedb497 | |
parent | aa726ba991903342154f95037b58b546ff897766 (diff) | |
download | cpython-623116a8701ead53a7ba09d329761f4242fd3eb5.zip cpython-623116a8701ead53a7ba09d329761f4242fd3eb5.tar.gz cpython-623116a8701ead53a7ba09d329761f4242fd3eb5.tar.bz2 |
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.
-rw-r--r-- | Lib/test/output/test_coercion | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/output/test_coercion b/Lib/test/output/test_coercion index 0cb893b..8c5f6e0 100644 --- a/Lib/test/output/test_coercion +++ b/Lib/test/output/test_coercion @@ -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 |