diff --git a/README.md b/README.md index fa8c7cb..439cce2 100644 --- a/README.md +++ b/README.md @@ -1898,7 +1898,7 @@ Bytes **Bytes object is an immutable sequence of single bytes. Mutable version is called bytearray.** ```python - = b'' # Only accepts ASCII characters and \x00 - \xff. + = b'' # Only accepts ASCII characters and \x00-\xff. = [] # Returns int in range from 0 to 255. = [] # Returns bytes even if it has only one element. = .join() # Joins elements using bytes object as separator. diff --git a/index.html b/index.html index 1cfe517..099d36c 100644 --- a/index.html +++ b/index.html @@ -1721,7 +1721,7 @@ CompletedProcess(args=['bc', #Bytes

Bytes object is an immutable sequence of single bytes. Mutable version is called bytearray.

<bytes> = b'<str>'                       # Only accepts ASCII characters and \x00 - \xff.
+

#Bytes

Bytes object is an immutable sequence of single bytes. Mutable version is called bytearray.

<bytes> = b'<str>'                       # Only accepts ASCII characters and \x00-\xff.
 <int>   = <bytes>[<index>]               # Returns int in range from 0 to 255.
 <bytes> = <bytes>[<slice>]               # Returns bytes even if it has only one element.
 <bytes> = <bytes>.join(<coll_of_bytes>)  # Joins elements using bytes object as separator.