1.1 --- a/lib/__builtins__/buffer.py Mon Mar 06 22:29:36 2017 +0100
1.2 +++ b/lib/__builtins__/buffer.py Tue Mar 07 17:13:46 2017 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Buffer object.
1.6
1.7 -Copyright (C) 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2015, 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -34,7 +34,7 @@
1.13 elif isinstance(size, int):
1.14 n = size
1.15 else:
1.16 - raise TypeError(size)
1.17 + raise ValueError(size)
1.18
1.19 self.__data__ = list_init(n)
1.20