lib/__builtins__/list.py | raw changeset files shortlog |
1.1 --- a/lib/__builtins__/list.py Mon Oct 31 21:50:41 2016 +0100 1.2 +++ b/lib/__builtins__/list.py Mon Oct 31 21:53:38 2016 +0100 1.3 @@ -33,7 +33,7 @@ 1.4 1.5 # Reserve space for a fragment reference. 1.6 1.7 - self.__data__ = native._list_init(args) # reserve space for elements 1.8 + self.__data__ = native._list_init(len(args)) # reserve space for elements 1.9 1.10 if args is not None: 1.11 self.extend(args)