From: Neil Schemenauer Date: Mon, 30 Dec 2002 20:21:15 +0000 (+0000) Subject: Match new sequence behavior. User defined types now behave better as and X-Git-Tag: v2.3c1~2806 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ea60c2a7ae8e24e4037c1960820b7e151a91848;p=python Match new sequence behavior. User defined types now behave better as and with sequences. --- diff --git a/Lib/test/output/test_coercion b/Lib/test/output/test_coercion index 42097502b3..dc74b375e4 100644 --- a/Lib/test/output/test_coercion +++ b/Lib/test/output/test_coercion @@ -520,7 +520,7 @@ test_coercion [1] - ... exceptions.TypeError [1] -= ... exceptions.TypeError [1] * = [1] -[1] *= ... exceptions.TypeError +[1] *= => [1] [1] / ... exceptions.TypeError [1] /= ... exceptions.TypeError [1] ** ... exceptions.TypeError @@ -532,7 +532,7 @@ test_coercion [1] - ... exceptions.TypeError [1] -= ... exceptions.TypeError [1] * = [1, 1] -[1] *= ... exceptions.TypeError +[1] *= => [1, 1] [1] / ... exceptions.TypeError [1] /= ... exceptions.TypeError [1] ** ... exceptions.TypeError