commit | 254348e201647ad9d264de2cc0fde031e8214719 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Nov 21 19:29:53 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Nov 21 19:29:53 2007 +0000 |
tree | f5e6c42989ce114d4a9385404a6b23b2b1ff12af | |
parent | 905a904723abadc627be60bf944e2ca76329b06e [diff] [blame] |
Rename buffer -> bytearray.
diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py index fb70ced..d14d50d 100644 --- a/Lib/test/test_marshal.py +++ b/Lib/test/test_marshal.py
@@ -39,7 +39,7 @@ # we're running the test on a 32-bit box, of course. def to_little_endian_string(value, nbytes): - b = buffer() + b = bytearray() for i in range(nbytes): b.append(value & 0xff) value >>= 8