diff options
Diffstat (limited to 'Lib/tarfile.py')
-rw-r--r-- | Lib/tarfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py index aef8f94..23252f4 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -222,7 +222,7 @@ def itn(n, digits=8, format=DEFAULT_FORMAT): # this could raise OverflowError. n = struct.unpack("L", struct.pack("l", n))[0] - s = buffer() + s = bytearray() for i in range(digits - 1): s.insert(0, n & 0o377) n >>= 8 |