From 254348e201647ad9d264de2cc0fde031e8214719 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 21 Nov 2007 19:29:53 +0000 Subject: Rename buffer -> bytearray. --- Lib/test/string_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/test/string_tests.py') diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index 116145e076..e9285a62f6 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -532,8 +532,8 @@ class BaseTest(unittest.TestCase): # XXX Commented out. Is there any reason to support buffer objects # as arguments for str.replace()? GvR -## ba = buffer('a') -## bb = buffer('b') +## ba = bytearray('a') +## bb = bytearray('b') ## EQ("bbc", "abc", "replace", ba, bb) ## EQ("aac", "abc", "replace", bb, ba) -- cgit v1.2.1