diff --git a/README.md b/README.md index 703a4c1..9ce013a 100644 --- a/README.md +++ b/README.md @@ -1892,7 +1892,7 @@ def write_bytes(filename, bytes_obj): Struct ------ -* **Module that performs conversions between a sequence of numbers and a C struct, represented as a Python bytes object.** +* **Module that performs conversions between a sequence of numbers and a bytes object.** * **Machine’s native type sizes and byte order are used by default.** ```python diff --git a/index.html b/index.html index 7b57028..32df915 100644 --- a/index.html +++ b/index.html @@ -1681,7 +1681,7 @@ db = connector.connect(host=<str>, user=<str>, password=<str>,
from struct import pack, unpack, iter_unpack
<bytes> = pack('<format>', <num_1> [, <num_2>, ...])