1.1 --- a/lib/__builtins__/buffer.py Tue Jun 22 23:03:52 2021 +0200
1.2 +++ b/lib/__builtins__/buffer.py Tue Jun 22 23:36:04 2021 +0200
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Buffer object.
1.6
1.7 -Copyright (C) 2015, 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2015, 2016, 2017, 2021 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 @@ -31,7 +31,7 @@
1.13
1.14 if args is not None:
1.15 n = len(args)
1.16 - elif isinstance(size, int):
1.17 + elif isinstance(size, integer):
1.18 n = size
1.19 else:
1.20 raise ValueError(size)