diff options
author | Guido van Rossum <guido@python.org> | 2007-11-21 19:29:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-11-21 19:29:53 (GMT) |
commit | 254348e201647ad9d264de2cc0fde031e8214719 (patch) | |
tree | f5e6c42989ce114d4a9385404a6b23b2b1ff12af /Lib/tarfile.py | |
parent | 905a904723abadc627be60bf944e2ca76329b06e (diff) | |
download | cpython-254348e201647ad9d264de2cc0fde031e8214719.zip cpython-254348e201647ad9d264de2cc0fde031e8214719.tar.gz cpython-254348e201647ad9d264de2cc0fde031e8214719.tar.bz2 |
Rename buffer -> bytearray.
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 |