# HG changeset patch # User Paul Boddie # Date 1491254855 -7200 # Node ID ff5c10a0d7f633f912c365df8b00e07413498832 # Parent 510e76aa07f294921e3d369d6c1c35581ba5b36a Fixed the augmented multiplication operation for lists. diff -r 510e76aa07f2 -r ff5c10a0d7f6 lib/__builtins__/list.py --- a/lib/__builtins__/list.py Mon Apr 03 22:00:06 2017 +0200 +++ b/lib/__builtins__/list.py Mon Apr 03 23:27:35 2017 +0200 @@ -129,8 +129,9 @@ "Replicate 'l' 'other' times." + copy = list(self) while other > 1: - l.extend(self) + l.extend(copy) other -= 1 return l