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.