From f219f912c3c4839eb3f1bfa076e6d01b860bf7ee Mon Sep 17 00:00:00 2001 From: DonnaDia <0dvd0bvb0@gmail.com> Date: Sun, 29 Aug 2021 21:42:32 +0300 Subject: [PATCH] added a note --- Doc/library/struct.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst index eccba20fb8fe7e..9c2fe3e73a406e 100644 --- a/Doc/library/struct.rst +++ b/Doc/library/struct.rst @@ -60,7 +60,8 @@ The module defines the following exception and functions: Pack the values *v1*, *v2*, ... according to the format string *format* and write the packed bytes into the writable buffer *buffer* starting at position *offset*. Note that *offset* is a required argument. - +.. note:: + 'x' padding inserts null bytes to pad bytes. .. function:: unpack(format, buffer)