summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-12-30 20:21:15 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-12-30 20:21:15 (GMT)
commit3ea60c2a7ae8e24e4037c1960820b7e151a91848 (patch)
tree7857c400cfac20339329c37813411379a4adeef0 /Lib
parent36e142e1e6a8d6a790fd605249dfe4e58a98743a (diff)
downloadcpython-3ea60c2a7ae8e24e4037c1960820b7e151a91848.zip
cpython-3ea60c2a7ae8e24e4037c1960820b7e151a91848.tar.gz
cpython-3ea60c2a7ae8e24e4037c1960820b7e151a91848.tar.bz2
Match new sequence behavior. User defined types now behave better as and
with sequences.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/output/test_coercion4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/output/test_coercion b/Lib/test/output/test_coercion
index 4209750..dc74b37 100644
--- a/Lib/test/output/test_coercion
+++ b/Lib/test/output/test_coercion
@@ -520,7 +520,7 @@ test_coercion
[1] - <MethodNumber 1> ... exceptions.TypeError
[1] -= <MethodNumber 1> ... exceptions.TypeError
[1] * <MethodNumber 1> = [1]
-[1] *= <MethodNumber 1> ... exceptions.TypeError
+[1] *= <MethodNumber 1> => [1]
[1] / <MethodNumber 1> ... exceptions.TypeError
[1] /= <MethodNumber 1> ... exceptions.TypeError
[1] ** <MethodNumber 1> ... exceptions.TypeError
@@ -532,7 +532,7 @@ test_coercion
[1] - <CoerceNumber 2> ... exceptions.TypeError
[1] -= <CoerceNumber 2> ... exceptions.TypeError
[1] * <CoerceNumber 2> = [1, 1]
-[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