Mercurial > cpython-lru_cache-weakref
diff Lib/test/string_tests.py @ 43947:cbc8b3bd3157
Rename buffer -> bytearray.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 21 Nov 2007 19:29:53 +0000 |
| parents | 41f7c13ef161 |
| children | 14c4bb3c65a7 |
line wrap: on
line diff
--- a/Lib/test/string_tests.py Wed Nov 21 02:51:50 2007 +0000 +++ b/Lib/test/string_tests.py Wed Nov 21 19:29:53 2007 +0000 @@ -532,8 +532,8 @@ # 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)
