From 43c98700080a5bc3711cac9239f594876c4e4bff Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Fri, 25 Sep 2009 22:07:48 -0400 Subject: [PATCH] typo "an bytes object" --> "a bytes object " --- strings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strings.html b/strings.html index 8401ea0..ed43bd8 100755 --- a/strings.html +++ b/strings.html @@ -338,7 +338,7 @@ TypeError: 'bytes' object does not support item assignment >>> barr bytearray(b'fbcde')
    -
  1. To convert an bytes object into a mutable bytearray object, use the built-in bytearray() function. +
  2. To convert a bytes object into a mutable bytearray object, use the built-in bytearray() function.
  3. All the methods and operations you can do on a bytes object, you can do on a bytearray object too.
  4. The one difference is that, with the bytearray object, you can assign individual bytes using index notation. The assigned value must be an integer between 0–255.