From f57188c6650edfbf6f9158a3ed3d06f090eeccd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 29 Apr 2021 03:23:00 +0200 Subject: [PATCH] Bytes --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.